# Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics

[Home] [Tutorials] [All Classes] [Grouped Classes]

Public Member Functions | Protected Attributes

# vl::CatmullRomInterpolatorDVec4 Class Reference

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

`#include <CatmullRomInterpolator.hpp>`

Inheritance diagram for vl::CatmullRomInterpolatorDVec4:

List of all members.

## Public Member Functions

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

## Protected Attributes

vl::ref < CatmullRomInterpolatorDVec4_T > | mInterpolator

## Detailed Description

Interpolates vl::dvec4 values using a CatmullRomInterpolator.

Definition at line 206 of file CatmullRomInterpolator.hpp.

## Constructor & Destructor Documentation

vl::CatmullRomInterpolatorDVec4::CatmullRomInterpolatorDVec4 | ( | ) | `[inline]`

Definition at line 209 of file CatmullRomInterpolator.hpp.

vl::CatmullRomInterpolatorDVec4::CatmullRomInterpolatorDVec4 | ( | const std::vector< vl::dvec4 > & | path ) | `[inline]`

Definition at line 210 of file CatmullRomInterpolator.hpp.

## Member Function Documentation

vl::dvec4 vl::CatmullRomInterpolatorDVec4::computePoint | ( | float | t ) | const`[inline, virtual]`

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec4.

Definition at line 211 of file CatmullRomInterpolator.hpp.

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

CatmullRomInterpolatorDVec4_T* vl::CatmullRomInterpolatorDVec4::interpolator | ( | ) | `[inline]`

Definition at line 212 of file CatmullRomInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

const CatmullRomInterpolatorDVec4_T* vl::CatmullRomInterpolatorDVec4::interpolator | ( | ) | const`[inline]`

Definition at line 213 of file CatmullRomInterpolator.hpp.

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

void vl::CatmullRomInterpolatorDVec4::setInterpolator | ( | CatmullRomInterpolatorDVec4_T * | interpolator ) | `[inline]`

Definition at line 214 of file CatmullRomInterpolator.hpp.

References interpolator(), and mInterpolator.

## Member Data Documentation

vl::ref<CatmullRomInterpolatorDVec4_T> vl::CatmullRomInterpolatorDVec4::mInterpolator`[protected]`

Definition at line 216 of file CatmullRomInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().

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

- D:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vlCore/CatmullRomInterpolator.hpp

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