Visualization Library

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

vl::CatmullRomInterpolatorFVec2 Class Reference

Interpolates vl::fvec2 values using a CatmullRomInterpolator. More...

#include <CatmullRomInterpolator.hpp>

Inheritance diagram for vl::CatmullRomInterpolatorFVec2:

vl::InterpolatorFVec2 vl::Interpolator vl::Object

List of all members.

Public Member Functions

 CatmullRomInterpolatorFVec2 ()
 CatmullRomInterpolatorFVec2 (const std::vector< vl::fvec2 > &path)
vl::fvec2 computePoint (float t) const
 Samples the interpolator at the given point.
CatmullRomInterpolatorFVec2_Tinterpolator ()
const
CatmullRomInterpolatorFVec2_T
interpolator () const
void setInterpolator (CatmullRomInterpolatorFVec2_T *interpolator)

Protected Attributes

vl::ref
< CatmullRomInterpolatorFVec2_T
mInterpolator


Detailed Description

Interpolates vl::fvec2 values using a CatmullRomInterpolator.

Constructor & Destructor Documentation

vl::CatmullRomInterpolatorFVec2::CatmullRomInterpolatorFVec2 (  )  [inline]

vl::CatmullRomInterpolatorFVec2::CatmullRomInterpolatorFVec2 ( const std::vector< vl::fvec2 > &  path  )  [inline]


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorFVec2.

CatmullRomInterpolatorFVec2_T* vl::CatmullRomInterpolatorFVec2::interpolator (  )  [inline]

const CatmullRomInterpolatorFVec2_T* vl::CatmullRomInterpolatorFVec2::interpolator (  )  const [inline]

void vl::CatmullRomInterpolatorFVec2::setInterpolator ( CatmullRomInterpolatorFVec2_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:12 2010.
Permission is granted to use this page to write and publish articles regarding Visualization Library.