Visualization Library

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

vl::LinearInterpolatorDVec3 Class Reference

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

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorDVec3:
vl::InterpolatorDVec3 vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorDVec3 ()
 LinearInterpolatorDVec3 (const std::vector< vl::dvec3 > &path)
vl::dvec3 computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorDVec3_Tinterpolator ()
const LinearInterpolatorDVec3_Tinterpolator () const
void setInterpolator (LinearInterpolatorDVec3_T *interpolator)

Protected Attributes

vl::ref
< LinearInterpolatorDVec3_T
mInterpolator

Detailed Description

Interpolates vl::dvec3 values using a LinearInterpolator.

Definition at line 161 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

vl::LinearInterpolatorDVec3::LinearInterpolatorDVec3 (  ) [inline]

Definition at line 164 of file LinearInterpolator.hpp.

vl::LinearInterpolatorDVec3::LinearInterpolatorDVec3 ( const std::vector< vl::dvec3 > &  path ) [inline]

Definition at line 165 of file LinearInterpolator.hpp.


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec3.

Definition at line 166 of file LinearInterpolator.hpp.

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

LinearInterpolatorDVec3_T* vl::LinearInterpolatorDVec3::interpolator (  ) [inline]

Definition at line 167 of file LinearInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

const LinearInterpolatorDVec3_T* vl::LinearInterpolatorDVec3::interpolator (  ) const [inline]

Definition at line 168 of file LinearInterpolator.hpp.

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

void vl::LinearInterpolatorDVec3::setInterpolator ( LinearInterpolatorDVec3_T interpolator ) [inline]

Definition at line 169 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 171 of file LinearInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().


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

Visualization Library v2011.05.1144 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Tue Sep 13 2011 21:59:07.
Permission is granted to use this page to write and publish articles regarding Visualization Library.