48 return m_retargetJointRefWorldMatrix;
53 return m_retargetJointOffset;
58 return m_retargetData.find(other)->second;
63 auto it = m_retargetData.find(other);
64 if (it == m_retargetData.end())
82 return m_hasVirtualRoot;
87 return m_virtualRootPosition;
92 return m_facingDirection;
97 m_facingDirection = direction;
double collisionRadius() const
Get collision radius.
Definition: AgentType.impl.h:70
const std::vector< AtomsCore::Quaternion > & retargetJointOffset() const
Gets characterization joint rotation offset.
Definition: AgentType.impl.h:51
const bool hasRetargetData(const std::string &other) const
Gets if the given agent type is included in the retarget catalog.
Definition: AgentType.impl.h:61
void setName(const std::string &name)
Set name.
Definition: AgentType.impl.h:36
const std::string & name() const
Get name.
Definition: AgentType.impl.h:31
const std::vector< AtomsCore::Matrix > & retargetJointRefWorldMatrix() const
Gets characterization joint worldMatrix in ref pose.
Definition: AgentType.impl.h:46
const std::vector< AtomsCore::JointChain > & jointChains() const
Gets characterization joint chains.
Definition: AgentType.impl.h:41
void setFacingDirection(FacingDirection direction)
Set facing direction.
Definition: AgentType.impl.h:95
const std::vector< RetargetJointChainData > & retargetData(const std::string &other) const
Gets retarget data map (a key for each other agent types as source)
Definition: AgentType.impl.h:56
void setCollisionRadius(double value)
Set collision radius.
Definition: AgentType.impl.h:75
bool hasVirtualRoot() const
Returns if this agent type has a virtual root.
Definition: AgentType.impl.h:80
AtomsCore::MapMetadata & metadata()
Gets the metadata map.
Definition: AgentType.impl.h:21
AtomsCore::Skeleton & skeleton()
Gets the agent type skeleton.
Definition: AgentType.impl.h:11
const AtomsCore::Vector3 & virtualRootPosition() const
Get virtual root position.
Definition: AgentType.impl.h:85
FacingDirection getFacingDirection() const
Get facing direction.
Definition: AgentType.impl.h:90
Skeleton class.
Definition: Skeleton.h:68
AtomsMath::Vector3 Vector3
Vector3 class.
Definition: AtomsMath.h:57
Atoms namespace.
Definition: Agent.h:29