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::LinearInterpolatorDouble Class Reference

Interpolates double values using a LinearInterpolator. More...

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorDouble:
vl::InterpolatorDouble vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorDouble ()
 LinearInterpolatorDouble (const std::vector< double > &path)
double computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorDouble_Tinterpolator ()
const LinearInterpolatorDouble_Tinterpolator () const
void setInterpolator (LinearInterpolatorDouble_T *interpolator)

Protected Attributes

ref< LinearInterpolatorDouble_TmInterpolator

Detailed Description

Interpolates double values using a LinearInterpolator.

Definition at line 194 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

vl::LinearInterpolatorDouble::LinearInterpolatorDouble (  ) [inline]

Definition at line 198 of file LinearInterpolator.hpp.

vl::LinearInterpolatorDouble::LinearInterpolatorDouble ( const std::vector< double > &  path ) [inline]

Definition at line 199 of file LinearInterpolator.hpp.


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDouble.

Definition at line 200 of file LinearInterpolator.hpp.

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

LinearInterpolatorDouble_T* vl::LinearInterpolatorDouble::interpolator (  ) [inline]

Definition at line 201 of file LinearInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

const LinearInterpolatorDouble_T* vl::LinearInterpolatorDouble::interpolator (  ) const [inline]

Definition at line 202 of file LinearInterpolator.hpp.

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

void vl::LinearInterpolatorDouble::setInterpolator ( LinearInterpolatorDouble_T interpolator ) [inline]

Definition at line 203 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 205 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.