Visualization Library v1.0.3

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

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions | Protected Attributes

vl::CatmullRomInterpolatorDVec3 Class Reference

Interpolates 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< dvec3 > &path)
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

ref
< CatmullRomInterpolatorDVec3_T
mInterpolator

Detailed Description

Interpolates dvec3 values using a CatmullRomInterpolator.

Definition at line 223 of file CatmullRomInterpolator.hpp.


Constructor & Destructor Documentation

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

Definition at line 227 of file CatmullRomInterpolator.hpp.

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

Definition at line 228 of file CatmullRomInterpolator.hpp.


Member Function Documentation

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

Samples the interpolator at the given point.

Implements vl::InterpolatorDVec3.

Definition at line 229 of file CatmullRomInterpolator.hpp.

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

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

Definition at line 230 of file CatmullRomInterpolator.hpp.

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

Referenced by computePoint(), and setInterpolator().

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

Definition at line 231 of file CatmullRomInterpolator.hpp.

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

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

Definition at line 232 of file CatmullRomInterpolator.hpp.

References interpolator(), and mInterpolator.


Member Data Documentation

Definition at line 234 of file CatmullRomInterpolator.hpp.

Referenced by interpolator(), and setInterpolator().


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:06.
Permission is granted to use this page to write and publish articles regarding Visualization Library.