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 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< dvec4 > &path)
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

ref< LinearInterpolatorDVec4_TmInterpolator

Detailed Description

Interpolates dvec4 values using a LinearInterpolator.

Definition at line 152 of file LinearInterpolator.hpp.


Constructor & Destructor Documentation

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

Definition at line 156 of file LinearInterpolator.hpp.

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

Definition at line 157 of file LinearInterpolator.hpp.


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec4.

Definition at line 158 of file LinearInterpolator.hpp.

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

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

Definition at line 159 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 160 of file LinearInterpolator.hpp.

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

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

Definition at line 161 of file LinearInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 163 of file LinearInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().


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

Visualization Library 2011.09.1160 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu May 2 2013 13:41:11.
Permission is granted to use this page to write and publish articles regarding Visualization Library.