|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CPSFloatCurveFunctor Class Referencethis functor produce float based on a hermite curve.
More...
#include <ps_float.h>
List of all members.
Detailed Description
this functor produce float based on a hermite curve.
Definition at line 103 of file ps_float.h.
Constructor & Destructor Documentation
NL3D::CPSFloatCurveFunctor::CPSFloatCurveFunctor |
( |
|
) |
|
|
Member Function Documentation
void NL3D::CPSFloatCurveFunctor::addControlPoint |
( |
const CCtrlPoint & |
ctrlPoint |
) |
|
|
|
=======================================================================================.
There is a sorted insertion based on the date -
Parameters:
-
Definition at line 70 of file ps_float.cpp.
References _CtrlPoints, sortPoints, and updateTab. |
void NL3D::CPSFloatCurveFunctor::enableSmoothing |
( |
bool |
enable = true |
) |
|
|
|
=======================================================================================.
Definition at line 192 of file ps_float.cpp.
References _Smoothing, and updateTab. |
|
=======================================================================================.
-
Returns:
-
a <date, value> std::pair
Definition at line 78 of file ps_float.cpp.
References _CtrlPoints, and index. |
uint NL3D::CPSFloatCurveFunctor::getNumCtrlPoints |
( |
void |
|
) |
const [inline] |
|
uint32 NL3D::CPSFloatCurveFunctor::getNumSamples |
( |
void |
|
) |
const [inline] |
|
float NL3D::CPSFloatCurveFunctor::getSlope |
( |
uint |
index |
) |
const [protected] |
|
float NL3D::CPSFloatCurveFunctor::getValue |
( |
float |
date |
) |
const |
|
bool NL3D::CPSFloatCurveFunctor::hasSmoothing |
( |
void |
|
) |
const [inline] |
|
float NL3D::CPSFloatCurveFunctor::operator() |
( |
TAnimationTime |
time |
) |
const [inline] |
|
void NL3D::CPSFloatCurveFunctor::removeCtrlPoint |
( |
uint |
index |
) |
|
|
|
=======================================================================================.
Definition at line 155 of file ps_float.cpp. |
void NL3D::CPSFloatCurveFunctor::setCtrlPoint |
( |
uint |
index, |
|
|
const CCtrlPoint & |
ctrlPoint |
|
) |
|
|
void NL3D::CPSFloatCurveFunctor::setNumSamples |
( |
uint32 |
numSamples |
) |
|
|
void NL3D::CPSFloatCurveFunctor::sortPoints |
( |
void |
|
) |
[protected] |
|
void NL3D::CPSFloatCurveFunctor::updateTab |
( |
void |
|
) |
[protected] |
|
Member Data Documentation
std::vector<CCtrlPoint> NL3D::CPSFloatCurveFunctor::_CtrlPoints [protected]
|
|
uint32 NL3D::CPSFloatCurveFunctor::_NumSamples [protected]
|
|
bool NL3D::CPSFloatCurveFunctor::_Smoothing [protected]
|
|
std::vector<float> NL3D::CPSFloatCurveFunctor::_Tab [protected]
|
|
The documentation for this class was generated from the following files:
|
|