vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArtificialWorld::SubBlockAnimation Class Reference

Trida reprezentujici animaci bloku. More...

#include <subblock_animation.h>

Public Member Functions

 SubBlockAnimation ()
 vytvori novou animaci a nastavi typ na 0, interpolaci na Linear, looping na NoLoop a cas provadeni na 1 s More...
 
 ~SubBlockAnimation ()
 
void AddAnimationPoint (AnimationPoint newPoint)
 prida novy bod animace More...
 
int NumberOfAnimantionPoints (void)
 vrati pocet bodu animace More...
 
AnimationPointGetAnimationPoint (int index)
 vrati odkaz na bod animace na pozici 'index' More...
 
void ClearAnimationPoints (void)
 smaze vsechny body animace More...
 
void SetAnimationType (unsigned int newType)
 nastavi typ animace More...
 
unsigned int GetAnimationType (void)
 vrati typ animace More...
 
void SetInterpolation (AnimationInterpolationType newInterpolation)
 nastavi typ interpolace mezi body animace More...
 
AnimationInterpolationType GetInterpolation (void)
 vrati typ interpolace mezi body animace More...
 
void SetLoopType (AnimationLoopType newLoop)
 nastavi typ smycky animace More...
 
AnimationLoopType GetLoopType (void)
 vrati tyo smycky animace More...
 
void SetTimePerLoop (int time)
 nastavi cas v sekundach na provedeni jedne smycky animace More...
 
int GetTimePerLoop (void)
 vrati cas v sekundach nastaveny na provedeni jedne smycky animace More...
 
void ClearAnimation (void)
 smaze vsechny body animace a nastavi ostatni parametry na vychozi hodnoty More...
 

Protected Attributes

vector< AnimationPointanimationPoints
 body animace More...
 
unsigned int animationType
 typ animace More...
 
AnimationInterpolationType interpolation
 typ interpolace mezi body animace More...
 
AnimationLoopType looping
 typ smycky animace More...
 
int timeForLoop
 cas v sekundach na provedeni jedne smycky animace More...
 

Detailed Description

Trida reprezentujici animaci bloku.

Constructor & Destructor Documentation

ArtificialWorld::SubBlockAnimation::SubBlockAnimation ( )
inline

vytvori novou animaci a nastavi typ na 0, interpolaci na Linear, looping na NoLoop a cas provadeni na 1 s

ArtificialWorld::SubBlockAnimation::~SubBlockAnimation ( )
inline

Member Function Documentation

void ArtificialWorld::SubBlockAnimation::AddAnimationPoint ( AnimationPoint  newPoint)
inline

prida novy bod animace

void ArtificialWorld::SubBlockAnimation::ClearAnimation ( void  )
inline

smaze vsechny body animace a nastavi ostatni parametry na vychozi hodnoty

void ArtificialWorld::SubBlockAnimation::ClearAnimationPoints ( void  )
inline

smaze vsechny body animace

AnimationPoint* ArtificialWorld::SubBlockAnimation::GetAnimationPoint ( int  index)
inline

vrati odkaz na bod animace na pozici 'index'

unsigned int ArtificialWorld::SubBlockAnimation::GetAnimationType ( void  )
inline

vrati typ animace

AnimationInterpolationType ArtificialWorld::SubBlockAnimation::GetInterpolation ( void  )
inline

vrati typ interpolace mezi body animace

AnimationLoopType ArtificialWorld::SubBlockAnimation::GetLoopType ( void  )
inline

vrati tyo smycky animace

int ArtificialWorld::SubBlockAnimation::GetTimePerLoop ( void  )
inline

vrati cas v sekundach nastaveny na provedeni jedne smycky animace

int ArtificialWorld::SubBlockAnimation::NumberOfAnimantionPoints ( void  )
inline

vrati pocet bodu animace

void ArtificialWorld::SubBlockAnimation::SetAnimationType ( unsigned int  newType)
inline

nastavi typ animace

void ArtificialWorld::SubBlockAnimation::SetInterpolation ( AnimationInterpolationType  newInterpolation)
inline

nastavi typ interpolace mezi body animace

void ArtificialWorld::SubBlockAnimation::SetLoopType ( AnimationLoopType  newLoop)
inline

nastavi typ smycky animace

void ArtificialWorld::SubBlockAnimation::SetTimePerLoop ( int  time)
inline

nastavi cas v sekundach na provedeni jedne smycky animace

Member Data Documentation

vector<AnimationPoint> ArtificialWorld::SubBlockAnimation::animationPoints
protected

body animace

unsigned int ArtificialWorld::SubBlockAnimation::animationType
protected

typ animace

AnimationInterpolationType ArtificialWorld::SubBlockAnimation::interpolation
protected

typ interpolace mezi body animace

AnimationLoopType ArtificialWorld::SubBlockAnimation::looping
protected

typ smycky animace

int ArtificialWorld::SubBlockAnimation::timeForLoop
protected

cas v sekundach na provedeni jedne smycky animace


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