Visualization Library

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

vl::LinearInterpolatorDVec4 Class Reference

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

#include <LinearInterpolator.hpp>

Inheritance diagram for vl::LinearInterpolatorDVec4:
vl::InterpolatorDVec4 vl::Interpolator vl::Object

List of all members.

Public Member Functions

 LinearInterpolatorDVec4 ()
 LinearInterpolatorDVec4 (const std::vector< vl::dvec4 > &path)
vl::dvec4 computePoint (float t) const
 Samples the interpolator at the given point.
LinearInterpolatorDVec4_Tinterpolator ()
const LinearInterpolatorDVec4_Tinterpolator () const
void setInterpolator (LinearInterpolatorDVec4_T *interpolator)

Protected Attributes

vl::ref
< LinearInterpolatorDVec4_T
mInterpolator

Detailed Description

Interpolates vl::dvec4 values using a LinearInterpolator.

Definition at line 148 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

vl::LinearInterpolatorDVec4::LinearInterpolatorDVec4 (  ) [inline]

Definition at line 151 of file LinearInterpolator.hpp.

vl::LinearInterpolatorDVec4::LinearInterpolatorDVec4 ( const std::vector< vl::dvec4 > &  path ) [inline]

Definition at line 152 of file LinearInterpolator.hpp.


Member Function Documentation

vl::dvec4 vl::LinearInterpolatorDVec4::computePoint ( float  t ) const [inline, virtual]

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec4.

Definition at line 153 of file LinearInterpolator.hpp.

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

LinearInterpolatorDVec4_T* vl::LinearInterpolatorDVec4::interpolator (  ) [inline]

Definition at line 154 of file LinearInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

const LinearInterpolatorDVec4_T* vl::LinearInterpolatorDVec4::interpolator (  ) const [inline]

Definition at line 155 of file LinearInterpolator.hpp.

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

void vl::LinearInterpolatorDVec4::setInterpolator ( LinearInterpolatorDVec4_T interpolator ) [inline]

Definition at line 156 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 158 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.