Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

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 ()
const
CatmullRomInterpolatorFloat_T
interpolator () const
void setInterpolator (CatmullRomInterpolatorFloat_T *interpolator)

Protected Attributes

vl::ref
< CatmullRomInterpolatorFloat_T
mInterpolator


Detailed Description

Interpolates float values using a CatmullRomInterpolator.

Constructor & Destructor Documentation

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

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


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorFloat.

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

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

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


Member Data Documentation


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

Visualization Library v2010.06 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Tue Jun 1 00:57:13 2010.
Permission is granted to use this page to write and publish articles regarding Visualization Library.