Visualization Library

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

vl::LinearInterpolatorFVec3 Class Reference

Interpolates vl::fvec3 values using a LinearInterpolator. More...

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorFVec3:

vl::InterpolatorFVec3 vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorFVec3 ()
 LinearInterpolatorFVec3 (const std::vector< vl::fvec3 > &path)
vl::fvec3 computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorFVec3_Tinterpolator ()
const LinearInterpolatorFVec3_Tinterpolator () const
void setInterpolator (LinearInterpolatorFVec3_T *interpolator)

Protected Attributes

vl::ref
< LinearInterpolatorFVec3_T
mInterpolator


Detailed Description

Interpolates vl::fvec3 values using a LinearInterpolator.

Constructor & Destructor Documentation

vl::LinearInterpolatorFVec3::LinearInterpolatorFVec3 (  )  [inline]

vl::LinearInterpolatorFVec3::LinearInterpolatorFVec3 ( const std::vector< vl::fvec3 > &  path  )  [inline]


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorFVec3.

LinearInterpolatorFVec3_T* vl::LinearInterpolatorFVec3::interpolator (  )  [inline]

const LinearInterpolatorFVec3_T* vl::LinearInterpolatorFVec3::interpolator (  )  const [inline]

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