|
| JointClipData (const unsigned int numberOfFrames) |
| Cosntructor. More...
|
|
| ~JointClipData () |
| Destructr.
|
|
const std::string & | name () const |
| Gets name. More...
|
|
void | setName (const std::string &name) |
| Sets name. More...
|
|
unsigned int | getNumberOfFrames () |
| get number of frames More...
|
|
void | setNumberOfFrames (const int value) |
| set number of frames
|
|
void | setTranslation (const AtomsCore::Vector3 &translation, const unsigned int frame) |
| Sets translation at frame.
|
|
void | setRotation (const AtomsCore::Quaternion &rotation, const unsigned int frame) |
| Sets rotation at frame.
|
|
void | setScale (const AtomsCore::Vector3 &scale, const unsigned int frame) |
| Sets scale at frame.
|
|
const AtomsCore::Vector3 & | getTranslation (const unsigned int frame) const |
| Gets translation at frame.
|
|
const AtomsCore::Quaternion & | getRotation (const unsigned int frame) const |
| Gets rotation at frame.
|
|
const AtomsCore::Vector3 & | getScale (const unsigned int frame) const |
| Gets scale at frame.
|
|
AtomsCore::Vector3 | getBlendedTranslation (const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended translation between two frames.
|
|
AtomsCore::Quaternion | getBlendedRotation (const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended rotation between two frames.
|
|
AtomsCore::Vector3 | getBlendedScale (const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended scale between two frames.
|
|
void | getBlendedTranslationInPlace (AtomsCore::Vector3 &out, const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended translation between two frames.
|
|
void | getBlendedRotationInPlace (AtomsCore::Quaternion &out, const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended rotation between two frames.
|
|
void | getBlendedScaleInPlace (AtomsCore::Vector3 &out, const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
| Gets blended scale between two frames.
|
|
unsigned int | getArrayMetadataType (const std::string &name) const |
|
template<class T > |
void | setArrayMetadataValue (const std::string &name, const unsigned int frame, T value) |
|
AtomsPtr< AtomsCore::Metadata > | getArrayMetadataAtFrame (const std::string &name, const unsigned int frame) const |
|
template<class T > |
T | getArrayMetadataValueAtFrame (const std::string &name, const unsigned int frame) const |
|
AtomsPtr< AtomsCore::Metadata > | getBlendedArrayMetadata (const std::string &name, const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
|
bool | getBlendedArrayMetadataInPlace (const std::string &name, const unsigned int initialFrame, const unsigned int finalFrame, const double weight, AtomsPtr< AtomsCore::Metadata > &OutMeta) const |
|
template<class T > |
T | getBlendedArrayMetadataValue (const std::string &name, const unsigned int initialFrame, const unsigned int finalFrame, const double weight) const |
|
AtomsPtr< AtomsCore::Metadata > | getDoubleBlendedArrayMetadata (const std::string &name, const unsigned int initialFrame1, const unsigned int finalFrame1, const double weight1, const unsigned int initialFrame2, const unsigned int finalFrame2, const double weight2, const double finalWeight) const |
|
bool | getDoubleBlendedArrayMetadataInPlace (const std::string &name, const unsigned int initialFrame1, const unsigned int finalFrame1, const double weight1, const unsigned int initialFrame2, const unsigned int finalFrame2, const double weight2, const double finalWeight, AtomsPtr< AtomsCore::Metadata > &OutMeta) const |
|
std::vector< std::string > | getArrayMetadataNames () const |
|
template<class T > |
void | addArrayMetadata (const std::string &name, const bool force=false) |
|
template<typename T , typename V > |
void | getArrayMetadataValues (const std::string &name, std::vector< V > &values) |
|
AtomsPtr< AtomsCore::BaseTypedArrayMetadata > | getArrayMetadata (const std::string &name) |
|
void | addArrayMetadata (const std::string &name, AtomsPtr< AtomsCore::BaseTypedArrayMetadata > &data) |
|
bool | hasArrayMetadata (const std::string &name) const |
|
void | deleteArrayMetadata (const std::string &name) |
|
std::vector< std::string > | getStaticMetadataNames () const |
|
void | setStaticMetadata (const std::string &name, AtomsCore::Metadata &metadata) |
|
AtomsPtr< AtomsCore::Metadata > | getStaticMetadata (const std::string &name) |
|
AtomsPtr< const AtomsCore::Metadata > | getStaticMetadata (const std::string &name) const |
|
AtomsCore::MapMetadata & | staticMetadata () |
|
const AtomsCore::MapMetadata & | staticMetadata () const |
|
std::map< std::string, AtomsPtr< AtomsCore::BaseTypedArrayMetadata > > & | metadata () |
|
const std::map< std::string, AtomsPtr< AtomsCore::BaseTypedArrayMetadata > > & | metadata () const |
|
void | reverse () |
|
void | computeIsAnimated () |
|
bool | isTransformAnimated () const |
|
const std::vector< std::string > & | animatedMetadata () const |
|
void | addAnimatedMetadata (const std::string &metadataName) |
|
void | copyFrame (unsigned int from, unsigned int to) |
|
Joint Clip data.
Stores the animation data and metadata for a joint