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

Interpolates float values using a CatmullRomInterpolator. More...

#include <CatmullRomInterpolator.hpp>

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

List of all members.

Public Member Functions

 CatmullRomInterpolatorFloat ()
 CatmullRomInterpolatorFloat (const std::vector< float > &path)
float computePoint (float t) const
 Samples the interpolator at the given point.
CatmullRomInterpolatorFloat_Tinterpolator ()
interpolator () const
void setInterpolator (CatmullRomInterpolatorFloat_T *interpolator)

Protected Attributes

< CatmullRomInterpolatorFloat_T

Detailed Description

Interpolates float values using a CatmullRomInterpolator.

Definition at line 195 of file CatmullRomInterpolator.hpp.

Constructor & Destructor Documentation

vl::CatmullRomInterpolatorFloat::CatmullRomInterpolatorFloat (  ) [inline]

Definition at line 199 of file CatmullRomInterpolator.hpp.

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

Definition at line 200 of file CatmullRomInterpolator.hpp.

Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorFloat.

Definition at line 201 of file CatmullRomInterpolator.hpp.

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

CatmullRomInterpolatorFloat_T* vl::CatmullRomInterpolatorFloat::interpolator (  ) [inline]

Definition at line 202 of file CatmullRomInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

const CatmullRomInterpolatorFloat_T* vl::CatmullRomInterpolatorFloat::interpolator (  ) const [inline]

Definition at line 203 of file CatmullRomInterpolator.hpp.

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

void vl::CatmullRomInterpolatorFloat::setInterpolator ( CatmullRomInterpolatorFloat_T interpolator ) [inline]

Definition at line 204 of file CatmullRomInterpolator.hpp.

References interpolator(), and mInterpolator.

Member Data Documentation

Definition at line 206 of file CatmullRomInterpolator.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.