Atoms Crowd
7.0.0
|
#include <AtomsClip.h>
Public Member Functions | |
AtomsClip (const std::string &clipPath) | |
Constructor. | |
AtomsClip (const unsigned int numFrames, const unsigned int numJoints, const double fps) | |
Constructor. | |
AtomsClip (const unsigned int numFrames, const unsigned int numJoints, const double fps, const bool parentSpace) | |
Constructor. | |
~AtomsClip () | |
Destructor. | |
void | setJointName (const unsigned int jointId, const std::string &name) |
Sets the joint name. | |
const std::string & | getJointName (const unsigned int jointId) |
void | setJointTranslations (const unsigned int jointId, AtomsCore::Vector3ArrayMetadata &jointTranslations) |
Sets joint translations. | |
void | setJointRotations (const unsigned int jointId, AtomsCore::QuaternionArrayMetadata &jointRotations) |
Sets joint rotations. | |
void | setJointScales (const unsigned int jointId, AtomsCore::Vector3ArrayMetadata &jointScales) |
Sets joint scales. | |
AtomsPtr< const AtomsCore::Vector3ArrayMetadata > | getJointTranslations (const unsigned int jointId) const |
Sets joint translations. | |
AtomsPtr< const AtomsCore::QuaternionArrayMetadata > | getJointRotations (const unsigned int jointId) const |
Gets joint rotations. | |
AtomsPtr< const AtomsCore::Vector3ArrayMetadata > | getJointScales (const unsigned int jointId) const |
Gets joint scales. | |
void | setJointMetadataBase (const unsigned int jointId, const std::string &metadataName, const AtomsPtr< AtomsCore::BaseTypedArrayMetadata > &value) |
Sets joint animated metadata. | |
template<typename T > | |
void | setJointMetadata (const unsigned int jointId, const std::string &metadataName, const AtomsPtr< AtomsCore::TypedArrayMetadata< T >> &value) |
Sets joint metadata. | |
template<typename T > | |
const AtomsPtr< AtomsCore::TypedArrayMetadata< T > > | getJointMetadata (const unsigned int jointId, const std::string &metadataName) const |
Gets joint metadata. | |
const AtomsPtr< const AtomsCore::MapMetadata > | getJointMetadatas (const unsigned int jointId) const |
Gets all joint metadatas. | |
void | setJointStaticMetadataBase (const unsigned int jointId, const std::string &metadataName, const AtomsPtr< AtomsCore::Metadata > &value) |
Sets joint static metadata. | |
template<typename T > | |
void | setJointStaticMetadata (const unsigned int jointId, const std::string &metadataName, const AtomsPtr< AtomsCore::MetadataImpl< T >> &value) |
Sets joint static metadata. | |
template<typename T > | |
const AtomsPtr< AtomsCore::MetadataImpl< T > > | getJointStaticMetadata (const unsigned int jointId, const std::string &metadataName) const |
Get joint static metadata. | |
void | setInParentSpace (bool flag) |
Sets use parent space flag. | |
bool | inParentSpace () const |
Gets the parent space flag. | |
const AtomsPtr< const AtomsCore::MapMetadata > | getJointStaticMetadatas (const unsigned int jointId) const |
Gets all joint static metadatas. | |
const double | getFps () const |
Gets fps of this clip. | |
const unsigned int | getNumJoints () const |
get the number of joints | |
const unsigned int | getNumFrames () const |
Gets hte number of frames. | |
const std::vector< std::string > | getJointMetadataNames (const unsigned int jointId) const |
Gets joint metadata names. | |
const std::vector< std::string > | getJointStaticMetadataNames (const unsigned int jointId) const |
Gets joint static metadata names. | |
bool | exportToFile (const std::string &clipPath) |
Save this clip to disk. | |
Atoms clip.