public

Inheritance Graph

graph BT
	AnimationBehaviour
	AnimationBehaviour --> AbstractNodeBehaviour
	click AnimationBehaviour "classMinSG_1_1AnimationBehaviour"
	click AbstractNodeBehaviour "classMinSG_1_1AbstractNodeBehaviour"

Description

Public Static Attributes

   
   
const int INIT
   
const int PLAYING
   
const int STOP
   
const int DESTROYED

Public Functions

   
   
  AnimationBehaviour( SkeletalNode * node, std::string _name)
   
  ~AnimationBehaviour(void void)
   
int getStatus() const
   
void setStatus(int _status)
   
void addPose( AbstractPose * _pose)
   
void addPoseArray(std::vector< AbstractPose * > & poseArray)
   
std::vector< AbstractPose * > & getPoses() const
   
AbstractPose * getPoseWithJointId(const uint32_t jId) const
   
int getPoseCount() const
   
void restartPoses()
   
std::string getName() const
   
void play()
   
void stop()
   
void gotoTime(double time)
   
bool isPlaying()
   
void startLoop()
   
void stopLoop()
   
double getMinTime() const
   
double getMaxTime() const
   
void setMaxTime(double time)
   
double getDuration() const
   
double getStartTime() const
   
double getAnimationSpeed() const
   
void setAnimationSpeed(double _speed)
   
void setTimeOffset(double time)
   
bool isStartAnimation()
   
bool isStopAnimation()
   
bool finishedPlaying()
   
std::vector< AnimationBehaviour * > split(std::string name, uint32_t index)
   
std::vector< AnimationBehaviour * > separate(std::vector< uint32_t > index, std::vector< std::string > names)
   
SkeletalNode * getSkeleton()
   
void addSourceAnimation( AnimationBehaviour * ani)
   
void addTargetAnimation( AnimationBehaviour * ani)
   
std::vector< AnimationBehaviour * > * goToAnimationState(std::string _name, std::vector< AnimationBehaviour * > * tracker)
   
void setNextAnimation( AnimationBehaviour * _next)
   
void addAnimationSourceName(std::string _name)
   
void addAnimationTargetName(std::string _name)
   
std::vector< AnimationBehaviour * > getFromAnimations()
   
std::vector< AnimationBehaviour * > getToAnimations()
   
void validateAnimationStates()
   
void _destroy()
   
behaviourResult_t doExecute()
   
AnimationBehaviour * clone( SkeletalNode * nodeClone)

Documentation

variable
MinSG::AnimationBehaviour::INIT

public static
 
 
const int INIT

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:84


variable
MinSG::AnimationBehaviour::PLAYING

public static
 
 
const int PLAYING

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:85


variable
MinSG::AnimationBehaviour::STOP

public static
 
 
const int STOP

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:86


variable
MinSG::AnimationBehaviour::DESTROYED

public static
 
 
const int DESTROYED

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:87


function
MinSG::AnimationBehaviour::AnimationBehaviour

public
     
     
AnimationBehaviour( SkeletalNode * node,
  std::string _name
)    

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:78


function
MinSG::AnimationBehaviour::~AnimationBehaviour

public virtual
     
     
~AnimationBehaviour( void void )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:79


function
MinSG::AnimationBehaviour::getStatus

public const inline
   
   
int getStatus( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:89


function
MinSG::AnimationBehaviour::setStatus

public
     
     
void setStatus( int _status )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:90


function
MinSG::AnimationBehaviour::addPose

public
     
     
void addPose( AbstractPose * _pose )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:95


function
MinSG::AnimationBehaviour::addPoseArray

public
     
     
void addPoseArray( std::vector< AbstractPose * > & poseArray )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:96


function
MinSG::AnimationBehaviour::getPoses

public const inline
   
   
std::vector< AbstractPose * > & getPoses( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:97


function
MinSG::AnimationBehaviour::getPoseWithJointId

public const
     
     
AbstractPose * getPoseWithJointId( const uint32_t jId ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:98


function
MinSG::AnimationBehaviour::getPoseCount

public const inline
   
   
int getPoseCount( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:100


function
MinSG::AnimationBehaviour::restartPoses

public
   
   
void restartPoses( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:102


function
MinSG::AnimationBehaviour::getName

public const inline
   
   
std::string getName( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:107


function
MinSG::AnimationBehaviour::play

public
   
   
void play( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:109


function
MinSG::AnimationBehaviour::stop

public
   
   
void stop( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:110


function
MinSG::AnimationBehaviour::gotoTime

public virtual
     
     
void gotoTime( double time )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:111


function
MinSG::AnimationBehaviour::isPlaying

public inline
   
   
bool isPlaying( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:113


function
MinSG::AnimationBehaviour::startLoop

public
   
   
void startLoop( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:115


function
MinSG::AnimationBehaviour::stopLoop

public
   
   
void stopLoop( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:116


function
MinSG::AnimationBehaviour::getMinTime

public const inline
   
   
double getMinTime( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:118


function
MinSG::AnimationBehaviour::getMaxTime

public const inline
   
   
double getMaxTime( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:119


function
MinSG::AnimationBehaviour::setMaxTime

public inline
     
     
void setMaxTime( double time )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:120


function
MinSG::AnimationBehaviour::getDuration

public const inline
   
   
double getDuration( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:121


function
MinSG::AnimationBehaviour::getStartTime

public const inline
   
   
double getStartTime( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:122


function
MinSG::AnimationBehaviour::getAnimationSpeed

public const inline
   
   
double getAnimationSpeed( ) const

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:124


function
MinSG::AnimationBehaviour::setAnimationSpeed

public inline
     
     
void setAnimationSpeed( double _speed )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:125


function
MinSG::AnimationBehaviour::setTimeOffset

public
     
     
void setTimeOffset( double time )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:127


function
MinSG::AnimationBehaviour::isStartAnimation

public inline
   
   
bool isStartAnimation( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:129


function
MinSG::AnimationBehaviour::isStopAnimation

public inline
   
   
bool isStopAnimation( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:130


function
MinSG::AnimationBehaviour::finishedPlaying

public
   
   
bool finishedPlaying( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:132


function
MinSG::AnimationBehaviour::split

public
     
     
std::vector< AnimationBehaviour * > split( std::string name,
  uint32_t index
)    

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:137


function
MinSG::AnimationBehaviour::separate

public
     
     
std::vector< AnimationBehaviour * > separate( std::vector< uint32_t > index,
  std::vector< std::string > names
)    

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:138


function
MinSG::AnimationBehaviour::getSkeleton

public
   
   
SkeletalNode * getSkeleton( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:143


function
MinSG::AnimationBehaviour::addSourceAnimation

public inline
     
     
void addSourceAnimation( AnimationBehaviour * ani )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:148


function
MinSG::AnimationBehaviour::addTargetAnimation

public inline
     
     
void addTargetAnimation( AnimationBehaviour * ani )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:149


function
MinSG::AnimationBehaviour::goToAnimationState

public
     
     
std::vector< AnimationBehaviour * > * goToAnimationState( std::string _name,
  std::vector< AnimationBehaviour * > * tracker
)    

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:151


function
MinSG::AnimationBehaviour::setNextAnimation

public inline
     
     
void setNextAnimation( AnimationBehaviour * _next )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:152


function
MinSG::AnimationBehaviour::addAnimationSourceName

public inline
     
     
void addAnimationSourceName( std::string _name )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:154


function
MinSG::AnimationBehaviour::addAnimationTargetName

public inline
     
     
void addAnimationTargetName( std::string _name )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:155


function
MinSG::AnimationBehaviour::getFromAnimations

public inline
   
   
std::vector< AnimationBehaviour * > getFromAnimations( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:157


function
MinSG::AnimationBehaviour::getToAnimations

public inline
   
   
std::vector< AnimationBehaviour * > getToAnimations( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:158


function
MinSG::AnimationBehaviour::validateAnimationStates

public
   
   
void validateAnimationStates( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:160


function
MinSG::AnimationBehaviour::_destroy

public
   
   
void _destroy( )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:165


function
MinSG::AnimationBehaviour::doExecute

public virtual
   
   
behaviourResult_t doExecute( )

o Called every frame (if the behaviour is active).

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:170


function
MinSG::AnimationBehaviour::clone

public virtual
     
     
AnimationBehaviour * clone( SkeletalNode * nodeClone )

Defined in MinSG/Ext/SkeletalAnimation/AnimationBehaviour.h:171