Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <MorphingActor.hpp>

| MorphingActor::MorphingActor | ( | ) |
| virtual const char* vl::MorphingActor::className | ( | ) | [inline, virtual] |
| void MorphingActor::init | ( | ResourceDatabase * | res_db | ) |
Initializes a MorphingActor from a ResourceDatabase.
The given ResourceDatabase must contain a Geometry with all the desired DrawCalls and vertex attributes setup with the exception of the vertex position array and vertex normal array since they are automatically generated in realtime time during the rendering from the vertex and normal frames specified below. In addition ResourceDatabase must contain:
| void MorphingActor::blendFrames | ( | int | a, | |
| int | b, | |||
| float | t | |||
| ) |
Virtual function used to update or animate an Actor during the rendering.
| lod | the LOD (level of detail) currently selected for the rendering. | |
| camera | the camera used for the current rendering. | |
| cur_t | the current animation time. |
Reimplemented from vl::Actor.
| void MorphingActor::setAnimation | ( | int | start, | |
| int | end, | |||
| float | period | |||
| ) |
| void MorphingActor::startAnimation | ( | Real | time = -1 |
) |
| void MorphingActor::stopAnimation | ( | ) |
| void MorphingActor::initFrom | ( | MorphingActor * | morph_act | ) |
| void MorphingActor::resetGLSLBindings | ( | ) |
| bool vl::MorphingActor::glslVertexBlendEnabled | ( | ) | const [inline] |
| void vl::MorphingActor::setGLSLVertexBlendEnabled | ( | bool | enable | ) | [inline] |
| Geometry* vl::MorphingActor::geometry | ( | ) | [inline] |
| const Geometry* vl::MorphingActor::geometry | ( | ) | const [inline] |
| bool vl::MorphingActor::animationStarted | ( | ) | const [inline] |
friend class MorphingCallback [friend] |
| std::vector< ref<ArrayFVec3> > vl::MorphingActor::mVertexFrames |
| std::vector< ref<ArrayFVec3> > vl::MorphingActor::mNormalFrames |
Real vl::MorphingActor::mLastUpdate [protected] |
Real vl::MorphingActor::mElapsedTime [protected] |
Real vl::MorphingActor::mAnimationStartTime [protected] |
int vl::MorphingActor::mAnimationStart [protected] |
int vl::MorphingActor::mAnimationEnd [protected] |
float vl::MorphingActor::mAnimationPeriod [protected] |
bool vl::MorphingActor::mAnimationStarted [protected] |
int vl::MorphingActor::mFrame1 [protected] |
int vl::MorphingActor::mFrame2 [protected] |
bool vl::MorphingActor::mGLSLVertexBlendEnabled [protected] |
int vl::MorphingActor::mVertex2_Binding [protected] |
int vl::MorphingActor::mNormal2_Binding [protected] |
int vl::MorphingActor::mAnim_t_Binding [protected] |
float vl::MorphingActor::mAnim_t [protected] |