Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]

vl::CatmullRomInterpolatorDVec3 Class Reference

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

#include <CatmullRomInterpolator.hpp>

Inheritance diagram for vl::CatmullRomInterpolatorDVec3:

vl::InterpolatorDVec3 vl::Interpolator vl::Object

List of all members.

Public Member Functions

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

Protected Attributes

vl::ref
< CatmullRomInterpolatorDVec3_T
mInterpolator


Detailed Description

Interpolates vl::dvec3 values using a CatmullRomInterpolator.

Constructor & Destructor Documentation

vl::CatmullRomInterpolatorDVec3::CatmullRomInterpolatorDVec3 (  )  [inline]

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


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec3.

CatmullRomInterpolatorDVec3_T* vl::CatmullRomInterpolatorDVec3::interpolator (  )  [inline]

const CatmullRomInterpolatorDVec3_T* vl::CatmullRomInterpolatorDVec3::interpolator (  )  const [inline]

void vl::CatmullRomInterpolatorDVec3::setInterpolator ( CatmullRomInterpolatorDVec3_T interpolator  )  [inline]


Member Data Documentation


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

Visualization Library v2009.08 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Fri Aug 28 10:14:09 2009.
Permission is granted to use this page to write and publish articles regarding Visualization Library.