|
bool | compute (const AtomsGraph::ComputeData *computeData) |
| Compute function.
|
|
void | reset () |
| Operator reset function.
|
|
void | setupDefaultPose () |
|
void | fillSkeletonClipIdMap (AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton) |
|
double | setPoseFromLooper (AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, double time, bool isAtomsClip, bool isParentSpace, const AtomsCore::SkeletonLod *skeletonLod, const long frameOffset) |
|
void | setPoseFromClip (AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, int clampedFrame, double weight, bool isAtomsClip, bool isParentSpace, const AtomsCore::SkeletonLod *skeletonLod) |
|
AtomsCore::Vector3 | getPelvisVelocityFromClip (AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, int frame, double reminder, const AtomsCore::SkeletonLod *skeletonLod, const int newFrame, const double newReminder) |
|
AtomsCore::Vector3 | getPelvisVelocityFromLooper (AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, int frame, double reminder, const AtomsCore::SkeletonLod *skeletonLod, const int newFrame, const double newReminder, const long frameOffset) |
|
AtomsCore::Vector3 | getDirectionAtFrame (AtomsCore::Poser &poser, AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, const AtomsCore::Vector3 &velocity, const unsigned int frame, const unsigned int nextFrame, const double reminder, const int rootPelvisIndex) |
|
void | removeFootLock (const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose) |
|
void | scaleMetadata (const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, double agentScale, double retargetingFactor) |
|
void | scaleDetachedJoints (const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, double agentScale, double retargetingFactor) |
|
void | setLocalDirectionAndVelocity (AtomsCore::Poser &poser, AnimationClipCPtr &clip, const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose, const AtomsCore::Vector3 &velocity, double retargetingFactor, bool syncede, const AtomsCore::Vector3 &rootOffset, double clipFrame, double startTime, double endTime, const long frameOffset) |
|
bool | getPoleVector (bool useBind, const AtomsCore::JointChain *chain, const std::vector< AtomsCore::Vector3 > &allPositions, const AtomsCore::Vector3 &startPos, const AtomsCore::Vector3 &endPos, AtomsCore::Vector3 &midPos, AtomsCore::Vector3 &poleVector, double threshold=0.9999) |
| Methods to compute retargeting.
|
|
AtomsCore::Vector3 | getTargetPoint (const AtomsCore::Vector3 sStartPos, const AtomsCore::Vector3 sEndPos, const AtomsCore::Vector3 tStartPos, const AtomsCore::Vector3 offset, double factor) |
|
void | resetJointPoses (const AtomsCore::Skeleton &skeleton, AtomsCore::Pose &pose) |
|
void | refreshTargetMatrix (const AtomsCore::Skeleton &tSkeleton, AtomsCore::Pose &tPose, unsigned short jointId) |
|
void | computeRetarget (const Atoms::AgentTypeCPtr tAgentType, const Atoms::AgentTypeCPtr sAgentType, const AtomsCore::Skeleton &tSkeleton, const AtomsCore::Skeleton &sSkeleton, AtomsCore::Pose &tPose, AtomsCore::Pose &sPose, std::map< unsigned short, AtomsCore::MapMetadata > &sMetadata, const double agentScale) |
|
void | useLocomotion (bool value) |
|
void | setTimeAndPreviousTime (double time, double prevTime) |
|
void | resetPreviousDirection () |
|
virtual std::string | typeStr () const =0 |
| Type string. More...
|
|
virtual unsigned int | typeId () const =0 |
| Type id. More...
|
|
| Operator () |
| Constructor.
|
|
virtual | ~Operator () |
| Destructor.
|
|
const AtomsCore::Pose & | pose () |
| Get output pose.
|
|
AtomsGraph::PosePort * | outPosePort () |
| Get output pose port.
|
|
virtual short | baseNodeType () const |
| Base node type.
|
|
const AtomsCore::SkeletonLod * | skeletonLod () const |
| Return the active skeleton sim lod data.
|
|
virtual void | computeFullPose (AtomsCore::Pose &FullPose) |
|
virtual void | partialPose (AtomsCore::Pose &FullPose, const std::vector< unsigned short > &jointIds, bool copyMetadata) |
|
| AgentNode () |
| Constructor.
|
|
virtual | ~AgentNode () |
| Destructor.
|
|
Agent * | agent () |
| Get agent.
|
|
void | setAgent (Agent *agent) |
| Set agent.
|
|
| Node () |
| Constructor.
|
|
virtual | ~Node () |
| Destructor.
|
|
virtual Node * | clone ()=0 |
| clone object More...
|
|
void | addInputPort (Port *port) |
| Adds input port.
|
|
template<class T > |
T * | getInputPort (const std::string &name) |
| Gets input port.
|
|
Port * | getInputPort (const std::string &name) |
| Gets the input port with the given name.
|
|
void | removeInputPort (const std::string &name) |
| Removes the input port with the given name.
|
|
std::vector< std::string > | getInputPortNames () const |
| Gets all input port names.
|
|
port_iterator | inputPortBegin () |
| Inputs port begin iterator.
|
|
port_iterator | inputPortEnd () |
| Inputs port end iterator.
|
|
const_port_iterator | inputPortCBegin () const |
| Input port begin iterator.
|
|
const_port_iterator | inputPortCEnd () const |
| Input port end iterator.
|
|
size_t | numInputPorts () const |
| Gets number of input ports.
|
|
void | addOutputPort (Port *port) |
| Adds output port.
|
|
template<class T > |
T * | getOutputPort (const std::string &name) |
| Gets the output port with the given name.
|
|
Port * | getOutputPort (const std::string &name) |
| Gets the output port with the given name.
|
|
void | removeOutputPort (const std::string &name) |
| Removes the output port with the given name.
|
|
std::vector< std::string > | getOutputPortNames () const |
| Gets all output port names.
|
|
port_iterator | outputPortBegin () |
| Output port begin iterator.
|
|
port_iterator | outputPortEnd () |
| Output port end iterator.
|
|
const_port_iterator | outputPortCBegin () const |
| Output port begin iterator.
|
|
const_port_iterator | outputPortCEnd () const |
| Output port end iterator.
|
|
size_t | numOutputPorts () const |
| Gets number of output ports.
|
|
void | setDirty (bool value) |
| Sets node dirty state.
|
|
bool | isDirty () const |
| Returns true if the node is dirty.
|
|
void | setDirtyFlag () |
| This set node dirty without propagate the dirty to the connected nodes.
|
|
const std::string & | name () const |
| Gets the node name.
|
|
void | setName (const std::string &name) |
| Sets the node name.
|
|
void | setProfileTime (size_t value) |
| Set the profile time.
|
|
size_t | profileTime () const |
| Get the profile time.
|
|