Visualization Library

A lightweight C++ OpenGL middleware for 2D/3D graphics
[Home] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::MorphingCallback Class Reference

The MorphingCallback class is used by MorphingActor to implement the morphing animation on the GPU. More...

#include <MorphingActor.hpp>

Inheritance diagram for vl::MorphingCallback:
vl::ActorRenderingCallback vl::Object

List of all members.

Public Member Functions

virtual const char * className ()
 Returns the name of the class.
virtual void operator() (const Camera *cam, Actor *actor, Renderable *renderable, const Shader *, int pass)
 Called upon callback execution.

Detailed Description

The MorphingCallback class is used by MorphingActor to implement the morphing animation on the GPU.


Member Function Documentation

virtual const char* vl::MorphingCallback::className (  ) [inline, virtual]

Returns the name of the class.

Reimplemented from vl::Object.

void MorphingCallback::operator() ( const Camera cam,
Actor actor,
Renderable renderable,
const Shader shader,
int  pass 
) [virtual]

Called upon callback execution.

Parameters:
camThe camera used for the current rendering.
actorThe Actor bound to this rendering callback.
renderableThe currently selected Actor LOD.
shaderThe currently active Shader.
passThe current Actor[s] rendering pass.

Implements vl::ActorRenderingCallback.


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

Visualization Library v2010.11.1123 Reference Documentation
Copyright 2005-2009 Michele Bosi. All rights reserved.
Updated on Thu Nov 18 2010 02:08:07.
Permission is granted to use this page to write and publish articles regarding Visualization Library.