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.

Definition at line 174 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

vl::LinearInterpolatorDVec2::LinearInterpolatorDVec2 (  ) [inline]

Definition at line 177 of file LinearInterpolator.hpp.

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

Definition at line 178 of file LinearInterpolator.hpp.


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec2.

Definition at line 179 of file LinearInterpolator.hpp.

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

LinearInterpolatorDVec2_T* vl::LinearInterpolatorDVec2::interpolator (  ) [inline]

Definition at line 180 of file LinearInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

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

Definition at line 181 of file LinearInterpolator.hpp.

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

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

Definition at line 182 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 184 of file LinearInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().


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

Visualization Library v2011.05.1142 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 26 2011 22:51:33.
Permission is granted to use this page to write and publish articles regarding Visualization Library.