PeriDyno 0.8.2
Public Member Functions | Public Attributes | List of all members
ofbx::AnimationLayerImpl Struct Reference
Inheritance diagram for ofbx::AnimationLayerImpl:
Inheritance graph
[legend]
Collaboration diagram for ofbx::AnimationLayerImpl:
Collaboration graph
[legend]

Public Member Functions

 AnimationLayerImpl (const Scene &_scene, const IElement &_element)
 
Type getType () const override
 
const AnimationCurveNodegetCurveNode (int index) const override
 
const AnimationCurveNodegetCurveNode (const Object &bone, const char *prop) const override
 
- Public Member Functions inherited from ofbx::AnimationLayer
 AnimationLayer (const Scene &_scene, const IElement &_element)
 
virtual const AnimationCurveNodegetCurveNode (int index) const =0
 
virtual const AnimationCurveNodegetCurveNode (const Object &bone, const char *property) const =0
 
- Public Member Functions inherited from ofbx::Object
 Object (const Scene &_scene, const IElement &_element)
 
virtual ~Object ()
 
virtual Type getType () const =0
 
const IScenegetScene () const
 
ObjectresolveObjectLink (int idx) const
 
ObjectresolveObjectLink (Type type, const char *property, int idx) const
 
ObjectresolveObjectLinkReverse (Type type) const
 
ObjectgetParent () const
 
RotationOrder getRotationOrder () const
 
Vec3 getRotationOffset () const
 
Vec3 getRotationPivot () const
 
Vec3 getPostRotation () const
 
Vec3 getScalingOffset () const
 
Vec3 getScalingPivot () const
 
Vec3 getPreRotation () const
 
Vec3 getLocalTranslation () const
 
Vec3 getLocalRotation () const
 
Vec3 getLocalScaling () const
 
Matrix getGlobalTransform () const
 
Matrix getLocalTransform () const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation) const
 
Matrix evalLocal (const Vec3 &translation, const Vec3 &rotation, const Vec3 &scaling) const
 
bool isNode () const
 
template<typename T >
TresolveObjectLink (int idx) const
 

Public Attributes

std::vector< AnimationCurveNodeImpl * > curve_nodes
 
- Public Attributes inherited from ofbx::Object
u64 id
 
char name [128]
 
const IElementelement
 
const Objectnode_attribute
 

Additional Inherited Members

- Public Types inherited from ofbx::Object
enum class  Type {
  ROOT , GEOMETRY , SHAPE , MATERIAL ,
  MESH , TEXTURE , LIMB_NODE , NULL_NODE ,
  NODE_ATTRIBUTE , CLUSTER , SKIN , BLEND_SHAPE ,
  BLEND_SHAPE_CHANNEL , ANIMATION_STACK , ANIMATION_LAYER , ANIMATION_CURVE ,
  ANIMATION_CURVE_NODE , POSE
}
 
- Static Public Attributes inherited from ofbx::AnimationLayer
static const Type s_type = Type::ANIMATION_LAYER
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scenescene
 

Detailed Description

Definition at line 1782 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ AnimationLayerImpl()

ofbx::AnimationLayerImpl::AnimationLayerImpl ( const Scene _scene,
const IElement _element 
)
inline

Definition at line 1784 of file ofbx.cpp.

Member Function Documentation

◆ getCurveNode() [1/2]

const AnimationCurveNode * ofbx::AnimationLayerImpl::getCurveNode ( const Object bone,
const char *  prop 
) const
inlineoverridevirtual

Implements ofbx::AnimationLayer.

Definition at line 1800 of file ofbx.cpp.

◆ getCurveNode() [2/2]

const AnimationCurveNode * ofbx::AnimationLayerImpl::getCurveNode ( int  index) const
inlineoverridevirtual

Implements ofbx::AnimationLayer.

Definition at line 1793 of file ofbx.cpp.

◆ getType()

Type ofbx::AnimationLayerImpl::getType ( ) const
inlineoverridevirtual

Implements ofbx::Object.

Definition at line 1790 of file ofbx.cpp.

Member Data Documentation

◆ curve_nodes

std::vector<AnimationCurveNodeImpl*> ofbx::AnimationLayerImpl::curve_nodes

Definition at line 1810 of file ofbx.cpp.


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