|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::UTrack Class ReferenceA track is a fonction that interpolate a value over the time.
More...
#include <u_track.h>
Inheritance diagram for NL3D::UTrack:
List of all members.
Detailed Description
A track is a fonction that interpolate a value over the time.
Kind of interpolation is hidden to the user. It can be Bezier, TCB, linear, noise interpolation. This interface give access to the interpolation fonction.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 53 of file u_track.h.
Member Function Documentation
virtual TAnimationTime NL3D::UTrack::getBeginTime |
( |
|
) |
const [pure virtual] |
|
virtual TAnimationTime NL3D::UTrack::getEndTime |
( |
|
) |
const [pure virtual] |
|
virtual bool NL3D::UTrack::interpolate |
( |
TAnimationTime |
time, |
|
|
bool & |
res |
|
) |
[pure virtual] |
|
|
Interplation a bool value.
You should be sure that the track you use to interpolate your value is a bool track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
virtual bool NL3D::UTrack::interpolate |
( |
TAnimationTime |
time, |
|
|
std::string & |
res |
|
) |
[pure virtual] |
|
|
Interplation a string value.
You should be sure that the track you use to interpolate your value is a string track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
|
Interplation a CQuat value.
You should be sure that the track you use to interpolate your value is a CQuat track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
|
Interplation a CVector value.
You should be sure that the track you use to interpolate your value is a CVector track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
|
Interplation a CRGBA value.
You should be sure that the track you use to interpolate your value is an CRGBA track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
|
Interplation an integer value.
You should be sure that the track you use to interpolate your value is an integer track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
virtual bool NL3D::UTrack::interpolate |
( |
TAnimationTime |
time, |
|
|
float & |
res |
|
) |
[pure virtual] |
|
|
Interplation a float value.
You should be sure that the track you use to interpolate your value is a float track! An assertion will be raised in debug if the type is wrong. -
Parameters:
-
time |
is the time you want the evaluate the value. If time higher than the time gived by getEndTime (), the value returned is the interpolation value at getEndTime (). If time smaller than the time gived by getBeginTime (), the value returned is the interpolation value at getBeginTime (). |
res |
is the reference on the value to get the result. |
-
Returns:
-
true if interplation is successful. false if the type asked is wrong.
Implemented in NL3D::ITrack. |
The documentation for this class was generated from the following file:
|
|