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

#include <ProceduralPathGeneratorsBase.h>

Public Member Functions

 BaseSpline3 ()
 
T & setNumSeg (unsigned int numSeg)
 Sets the number of segments between 2 control points. More...
 
T & close ()
 Closes the spline. More...
 

Protected Attributes

unsigned int mNumSeg
 The number of segments between 2 control points. More...
 
bool mClosed
 Tells if the spline is closed or not. More...
 

Detailed Description

template<class T>
class Procedural::BaseSpline3< T >

Base class for Path generators

Constructor & Destructor Documentation

◆ BaseSpline3()

template<class T >
Procedural::BaseSpline3< T >::BaseSpline3 ( )

Member Function Documentation

◆ close()

template<class T >
T& Procedural::BaseSpline3< T >::close ( )

Closes the spline.

◆ setNumSeg()

template<class T >
T& Procedural::BaseSpline3< T >::setNumSeg ( unsigned int  numSeg)

Sets the number of segments between 2 control points.

Exceptions
Ogre::InvalidParametersExceptionMinimum of numSeg is 1

Member Data Documentation

◆ mClosed

template<class T >
bool Procedural::BaseSpline3< T >::mClosed
protected

Tells if the spline is closed or not.

Referenced by Procedural::BaseSpline3< CatmullRomSpline3 >::close().

◆ mNumSeg

template<class T >
unsigned int Procedural::BaseSpline3< T >::mNumSeg
protected

The number of segments between 2 control points.

Referenced by Procedural::BaseSpline3< CatmullRomSpline3 >::setNumSeg().


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