Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::LinearInterpolatorDVec2 Class Reference

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

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorDVec2:
vl::InterpolatorDVec2 vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorDVec2 ()
 LinearInterpolatorDVec2 (const std::vector< vl::dvec2 > &path)
vl::dvec2 computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorDVec2_Tinterpolator ()
const LinearInterpolatorDVec2_Tinterpolator () const
void setInterpolator (LinearInterpolatorDVec2_T *interpolator)

Protected Attributes

vl::ref
< LinearInterpolatorDVec2_T
mInterpolator

Detailed Description

Interpolates vl::dvec2 values using a LinearInterpolator.


Constructor & Destructor Documentation

vl::LinearInterpolatorDVec2::LinearInterpolatorDVec2 (  ) [inline]
vl::LinearInterpolatorDVec2::LinearInterpolatorDVec2 ( const std::vector< vl::dvec2 > &  path ) [inline]

Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec2.

LinearInterpolatorDVec2_T* vl::LinearInterpolatorDVec2::interpolator (  ) [inline]
const LinearInterpolatorDVec2_T* vl::LinearInterpolatorDVec2::interpolator (  ) const [inline]
void vl::LinearInterpolatorDVec2::setInterpolator ( LinearInterpolatorDVec2_T interpolator ) [inline]

Member Data Documentation


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

Visualization Library v2010.11.1125 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Nov 26 2010 10:33:47.
Permission is granted to use this page to write and publish articles regarding Visualization Library.