Anim 0.1
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | Friends | List of all members
AnimationSystem::Mesh::BlendTree::IKNode Class Reference

A node that performs an IK transformation on the result from it's child node. More...

#include <IKNode.h>

Inheritance diagram for AnimationSystem::Mesh::BlendTree::IKNode:
Collaboration diagram for AnimationSystem::Mesh::BlendTree::IKNode:

Classes

struct  DataBlock
 

Public Member Functions

template<typename T >
ValueResult< std::reference_wrapper< T > > CreateOrReplaceChild (string const &name)
 Creates a new node of type T in the tree with the name provided. More...
 
- Public Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
 NodeBase (NodeBase const &other)=delete
 
NodeBaseoperator= (NodeBase const &other)=delete
 
template<typename T >
ValueResult< std::reference_wrapper< T > > ModifyData () const
 Gets the DataBlock of this node allowing the data to be queried / modified. More...
 

Protected Member Functions

ValueResult< gef::SkeletonPose > Update (float deltaTime, vector< gef::SkeletonPose > &&childPoseResults) override
 
- Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::RegularNode
 RegularNode (string const &name, NodeBase const *parent, AnimationBlendTree &animationBlendTree, unique_ptr< DataBlockBase > dataBlock)
 
virtual ValueResult< gef::SkeletonPose > Update (float deltaTime, vector< gef::SkeletonPose > &&childPoseResults)=0
 
template<typename T >
ValueResult< std::reference_wrapper< T > > CreateAndSetChild (NodeBase &parent, int index, string const &name)
 
virtual PureResult SetChild (int const index, std::unique_ptr< NodeBase > &&node)
 
template<typename T >
ValueResult< std::reference_wrapper< T > > GetChild (int index)
 
- Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
template<typename T >
T & GetData () const
 Gets the DataBlock of this node.
 
PureResult RegisterSelf ()
 
 NodeBase (string name, NodeBase const *parent, AnimationBlendTree &blendTree, unique_ptr< DataBlockBase > dataBlock)
 

Friends

class NodeFactory
 

Additional Inherited Members

- Public Attributes inherited from AnimationSystem::Mesh::BlendTree::NodeBase
std::string const Name
 
- Static Protected Member Functions inherited from AnimationSystem::Mesh::BlendTree::NodeBase
static AnimatedMesh const & GetMeshObject (AnimationBlendTree const &blendTree)
 
- Protected Attributes inherited from AnimationSystem::Mesh::BlendTree::NodeBase
NodeBase const *const parent_ {}
 
AnimationBlendTreeblend_tree_
 
AnimatedMesh const & mesh_object_ref_
 

Detailed Description

A node that performs an IK transformation on the result from it's child node.

Member Function Documentation

◆ CreateOrReplaceChild()

template<typename T >
ValueResult< std::reference_wrapper< T > > AnimationSystem::Mesh::BlendTree::IKNode::CreateOrReplaceChild ( string const &  name)
inline

Creates a new node of type T in the tree with the name provided.

Template Parameters
TThe type of node being created, T must inherit from BaseNode or it's derivatives

◆ Update()

ValueResult< gef::SkeletonPose > AnimationSystem::Mesh::BlendTree::IKNode::Update ( float  deltaTime,
vector< gef::SkeletonPose > &&  childPoseResults 
)
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file: