Ogre Procedural
0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
|
#include <ProceduralShapeGeneratorsBase.h>
Public Member Functions | |
BaseSpline2 () | |
Default constructor. More... | |
T & | setOutSide (Side outSide) |
Sets the out side of the shape. More... | |
Side | getOutSide () const |
Gets the out side of the shape. More... | |
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 |
Whether the shape will be closed or not. More... | |
Side | mOutSide |
The "out" side of the shape. More... | |
Base class for Shape generators
Procedural::BaseSpline2< T >::BaseSpline2 | ( | ) |
Default constructor.
T& Procedural::BaseSpline2< T >::close | ( | ) |
Closes the spline.
Side Procedural::BaseSpline2< T >::getOutSide | ( | ) | const |
Gets the out side of the shape.
T& Procedural::BaseSpline2< T >::setNumSeg | ( | unsigned int | numSeg | ) |
Sets the number of segments between 2 control points.
Ogre::InvalidParametersException | Minimum of numSeg is 1 |
T& Procedural::BaseSpline2< T >::setOutSide | ( | Side | outSide | ) |
Sets the out side of the shape.
|
protected |
Whether the shape will be closed or not.
Referenced by Procedural::BaseSpline2< CatmullRomSpline2 >::close().
|
protected |
The number of segments between 2 control points.
Referenced by Procedural::BaseSpline2< CatmullRomSpline2 >::setNumSeg().
|
protected |
The "out" side of the shape.
Referenced by Procedural::BaseSpline2< CatmullRomSpline2 >::getOutSide(), and Procedural::BaseSpline2< CatmullRomSpline2 >::setOutSide().