Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | Public Attributes | List of all members
Procedural::CubicHermiteSplineControlPoint< T > Struct Template Reference

Template control point for Cubic Hermite splines. More...

#include <ProceduralSplines.h>

Public Member Functions

 CubicHermiteSplineControlPoint ()
 Default constructor. More...
 
 CubicHermiteSplineControlPoint (const T &p, const T &before, const T &after)
 Constructor with arguments. More...
 

Public Attributes

position
 Position of the control point. More...
 
tangentBefore
 Tangent just before the control point. More...
 
tangentAfter
 Tangent just after the control point. More...
 
CubicHermiteSplineAutoTangentMode autoTangentBefore
 Auto tangent mode for the tangent just before the control point. More...
 
CubicHermiteSplineAutoTangentMode autoTangentAfter
 Auto tangent mode for the tangent just after the control point. More...
 

Detailed Description

template<class T>
struct Procedural::CubicHermiteSplineControlPoint< T >

Template control point for Cubic Hermite splines.

Constructor & Destructor Documentation

◆ CubicHermiteSplineControlPoint() [1/2]

Default constructor.

◆ CubicHermiteSplineControlPoint() [2/2]

template<class T >
Procedural::CubicHermiteSplineControlPoint< T >::CubicHermiteSplineControlPoint ( const T &  p,
const T &  before,
const T &  after 
)

Constructor with arguments.

Member Data Documentation

◆ autoTangentAfter

Auto tangent mode for the tangent just after the control point.

Referenced by Procedural::CubicHermiteSpline2::addPoint(), Procedural::CubicHermiteSpline3::addPoint(), and Procedural::computeTangents().

◆ autoTangentBefore

Auto tangent mode for the tangent just before the control point.

Referenced by Procedural::CubicHermiteSpline2::addPoint(), Procedural::CubicHermiteSpline3::addPoint(), and Procedural::computeTangents().

◆ position

template<class T >
T Procedural::CubicHermiteSplineControlPoint< T >::position

◆ tangentAfter

template<class T >
T Procedural::CubicHermiteSplineControlPoint< T >::tangentAfter

Tangent just after the control point.

Referenced by Procedural::computeCubicHermitePoints(), and Procedural::computeTangents().

◆ tangentBefore

template<class T >
T Procedural::CubicHermiteSplineControlPoint< T >::tangentBefore

Tangent just before the control point.

Referenced by Procedural::computeCubicHermitePoints(), and Procedural::computeTangents().


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