Tulip  4.3.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
tlp::AdditionalGlSceneAnimation Class Referenceabstract

#include <GlSceneZoomAndPan.h>

Public Member Functions

virtual void animationStep (int animationStep)=0
 
void setNbAnimationSteps (int nbAnimationSteps)
 

Protected Attributes

int nbAnimationSteps
 

Detailed Description

A class which encapsulate a Tulip OpenGL scene animation This class aims to encapsulate a Tulip OpenGL scene animation. Derive it if you want to add extra animations to the Tulip OpenGL scene while a Zoom and Pan is performed.

Definition at line 37 of file GlSceneZoomAndPan.h.

Member Function Documentation

virtual void tlp::AdditionalGlSceneAnimation::animationStep ( int  animationStep)
pure virtual

Pure virtual method called at each step of the Zoom and Pan animation.

Implement it in your derived class to perform any extra animation you want on the Tulip OpenGL scene.

void tlp::AdditionalGlSceneAnimation::setNbAnimationSteps ( int  nbAnimationSteps)
inline

Method to set the total number of animation steps. No need to call it because the GlSceneZoomAndPan class do that task.

Definition at line 47 of file GlSceneZoomAndPan.h.