public abstract

Inheritance Graph

graph BT
	AbstractPose
	MatrixPose --> AbstractPose
	SRTPose --> AbstractPose
	click AbstractPose "classMinSG_1_1AbstractPose"
	click MatrixPose "classMinSG_1_1MatrixPose"
	click SRTPose "classMinSG_1_1SRTPose"

Description

Public Types

   
   
enum poseStatus {STOPPED, RUNNING}

Protected Attributes

   
   
std::deque< Geometry::Matrix4x4 > keyframes
   
std::deque< double > timeline
   
std::deque< uint32_t > interpolationTypes
   
uint32_t currentInterpolationType
   
int status
   
double startTime
   
uint32_t maxPoseCount

Public Static Attributes

   
   
const uint32_t LINEAR
   
const uint32_t CONSTANT
   
const uint32_t BEZIER

Protected Functions

   
   
void init(std::deque< double > _values, std::deque< double > _timeline, std::deque< uint32_t > _interpolationTypes, double _startTime)

Public Functions

   
   
  AbstractPose( AbstractJoint * joint)
   
  ~AbstractPose()
   
void setValues(std::deque< double > _values, std::deque< double > _timeline, std::deque< uint32_t > _interpolationTypes)
   
void setValues(std::deque< Geometry::Matrix4x4 > _values, std::deque< double > _timeline, std::deque< uint32_t > _interpolationTypes)
   
void addValue( Geometry::Matrix4x4 _value, double _timeline, uint32_t _interpolationType, uint32_t _index)
   
void removeValue(uint32_t _index)
   
void update(double timeSec)
   
void restart()
   
AbstractPose * split(uint32_t start, uint32_t end)
   
uint32_t getSize()
   
std::deque< double > & getTimeline()
   
bool setTimeline(std::deque< double > _timeline, bool relative)
   
std::deque< uint32_t > * getInterpolationTypes()
   
uint32_t getMaxPoseCount()
   
void play()
   
void stop()
   
void setStartTime(double _startTime)
   
double getStartTime()
   
double getMinTime() const
   
double getMaxTime() const
   
double getDuration() const
   
void bindToJoint( AbstractJoint * _node)
   
AbstractJoint * getBindetJoint() const
   
int getStatus()
   
std::deque< Geometry::Matrix4x4 > & getKeyframes()
   
AbstractPose * clone() const

Documentation

enum
MinSG::AbstractPose::poseStatus

public
 
 
enum poseStatus
Enumerator   Description
Enumerator   Description
STOPPED    
RUNNING    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:64


variable
MinSG::AbstractPose::keyframes

protected
 
 
std::deque< Geometry::Matrix4x4 > keyframes

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:44


variable
MinSG::AbstractPose::timeline

protected
 
 
std::deque< double > timeline

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:45


variable
MinSG::AbstractPose::interpolationTypes

protected
 
 
std::deque< uint32_t > interpolationTypes

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:46


variable
MinSG::AbstractPose::currentInterpolationType

protected
 
 
uint32_t currentInterpolationType

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:48


variable
MinSG::AbstractPose::status

protected
 
 
int status

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:50


variable
MinSG::AbstractPose::startTime

protected
 
 
double startTime

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:51


variable
MinSG::AbstractPose::maxPoseCount

protected
 
 
uint32_t maxPoseCount

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:53


variable
MinSG::AbstractPose::LINEAR

public static
 
 
const uint32_t LINEAR

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:73


variable
MinSG::AbstractPose::CONSTANT

public static
 
 
const uint32_t CONSTANT

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:74


variable
MinSG::AbstractPose::BEZIER

public static
 
 
const uint32_t BEZIER

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:75


function
MinSG::AbstractPose::init

protected virtual
     
     
void init( std::deque< double > _values,
  std::deque< double > _timeline,
  std::deque< uint32_t > _interpolationTypes,
  double _startTime
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:58


function
MinSG::AbstractPose::AbstractPose

public
     
     
AbstractPose( AbstractJoint * joint )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:77


function
MinSG::AbstractPose::~AbstractPose

public inline virtual
   
   
~AbstractPose( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:78


function
MinSG::AbstractPose::setValues

public virtual
     
     
void setValues( std::deque< double > _values,
  std::deque< double > _timeline,
  std::deque< uint32_t > _interpolationTypes
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:83


function
MinSG::AbstractPose::setValues

public virtual
     
     
void setValues( std::deque< Geometry::Matrix4x4 > _values,
  std::deque< double > _timeline,
  std::deque< uint32_t > _interpolationTypes
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:84


function
MinSG::AbstractPose::addValue

public virtual
     
     
void addValue( Geometry::Matrix4x4 _value,
  double _timeline,
  uint32_t _interpolationType,
  uint32_t _index
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:86


function
MinSG::AbstractPose::removeValue

public virtual
     
     
void removeValue( uint32_t _index )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:88


function
MinSG::AbstractPose::update

public virtual
     
     
void update( double timeSec )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:90


function
MinSG::AbstractPose::restart

public virtual
   
   
void restart( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:91


function
MinSG::AbstractPose::split

public virtual
     
     
AbstractPose * split( uint32_t start,
  uint32_t end
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:93


function
MinSG::AbstractPose::getSize

public inline
   
   
uint32_t getSize( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:95


function
MinSG::AbstractPose::getTimeline

public inline
   
   
std::deque< double > & getTimeline( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:97


function
MinSG::AbstractPose::setTimeline

public
     
     
bool setTimeline( std::deque< double > _timeline,
  bool relative
)    

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:98


function
MinSG::AbstractPose::getInterpolationTypes

public inline
   
   
std::deque< uint32_t > * getInterpolationTypes( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:100


function
MinSG::AbstractPose::getMaxPoseCount

public inline
   
   
uint32_t getMaxPoseCount( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:102


function
MinSG::AbstractPose::play

public
   
   
void play( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:107


function
MinSG::AbstractPose::stop

public
   
   
void stop( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:108


function
MinSG::AbstractPose::setStartTime

public inline
     
     
void setStartTime( double _startTime )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:110


function
MinSG::AbstractPose::getStartTime

public inline
   
   
double getStartTime( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:111


function
MinSG::AbstractPose::getMinTime

public const inline
   
   
double getMinTime( ) const

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:113


function
MinSG::AbstractPose::getMaxTime

public const inline
   
   
double getMaxTime( ) const

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:114


function
MinSG::AbstractPose::getDuration

public const inline
   
   
double getDuration( ) const

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:115


function
MinSG::AbstractPose::bindToJoint

public virtual
     
     
void bindToJoint( AbstractJoint * _node )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:120


function
MinSG::AbstractPose::getBindetJoint

public const inline
   
   
AbstractJoint * getBindetJoint( ) const

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:121


function
MinSG::AbstractPose::getStatus

public inline
   
   
int getStatus( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:122


function
MinSG::AbstractPose::getKeyframes

public inline
   
   
std::deque< Geometry::Matrix4x4 > & getKeyframes( )

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:124


function
MinSG::AbstractPose::clone

public const virtual
   
   
AbstractPose * clone( ) const

Defined in MinSG/Ext/SkeletalAnimation/JointPose/AbstractPose.h:129