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

Classes

struct  Curve
 

Public Types

enum  Mode { TRANSLATION , ROTATION , SCALE }
 
- 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
}
 

Public Member Functions

 AnimationCurveNodeImpl (const Scene &_scene, const IElement &_element)
 
const Object * getBone () const override
 
float getAnimationDX () const
 
float getAnimationDY () const
 
float getAnimationDZ () const
 
const AnimationCurve * getCurve (int idx) const override
 
Vec3 getNodeLocalTransform (double time) const override
 
Type getType () const override
 
- Public Member Functions inherited from ofbx::AnimationCurveNode
 AnimationCurveNode (const Scene &_scene, const IElement &_element)
 
virtual const ofbx::AnimationCurve * getCurve (int idx) const =0
 
virtual Vec3 getNodeLocalTransform (double time) const =0
 
virtual const Object * getBone () const =0
 
virtual float getAnimationDX () const =0
 
virtual float getAnimationDY () const =0
 
virtual float getAnimationDZ () const =0
 
- Public Member Functions inherited from ofbx::Object
 Object (const Scene &_scene, const IElement &_element)
 
virtual ~Object ()
 
virtual Type getType () const =0
 
const IScene & getScene () const
 
Object * resolveObjectLink (int idx) const
 
Object * resolveObjectLink (Type type, const char *property, int idx) const
 
Object * resolveObjectLinkReverse (Type type) const
 
Object * getParent () 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 >
T * resolveObjectLink (int idx) const
 

Public Attributes

Curve curves [3]
 
Object * bone = nullptr
 
DataView bone_link_property
 
float default_values [3]
 
enum ofbx::AnimationCurveNodeImpl::Mode mode = TRANSLATION
 
- Public Attributes inherited from ofbx::Object
u64 id
 
char name [128]
 
const IElement & element
 
const Object * node_attribute
 

Additional Inherited Members

- Static Public Attributes inherited from ofbx::AnimationCurveNode
static const Type s_type = Type::ANIMATION_CURVE_NODE
 
- Protected Attributes inherited from ofbx::Object
bool is_node
 
const Scene & scene
 

Detailed Description

Definition at line 1684 of file ofbx.cpp.

Member Enumeration Documentation

◆ Mode

Enumerator
TRANSLATION 
ROTATION 
SCALE 

Definition at line 1773 of file ofbx.cpp.

Constructor & Destructor Documentation

◆ AnimationCurveNodeImpl()

ofbx::AnimationCurveNodeImpl::AnimationCurveNodeImpl ( const Scene &  _scene,
const IElement &  _element 
)
inline

Definition at line 1686 of file ofbx.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getAnimationDX()

float ofbx::AnimationCurveNodeImpl::getAnimationDX ( ) const
inlinevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1714 of file ofbx.cpp.

◆ getAnimationDY()

float ofbx::AnimationCurveNodeImpl::getAnimationDY ( ) const
inlinevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1718 of file ofbx.cpp.

◆ getAnimationDZ()

float ofbx::AnimationCurveNodeImpl::getAnimationDZ ( ) const
inlinevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1722 of file ofbx.cpp.

◆ getBone()

const Object * ofbx::AnimationCurveNodeImpl::getBone ( ) const
inlineoverridevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1709 of file ofbx.cpp.

◆ getCurve()

const AnimationCurve * ofbx::AnimationCurveNodeImpl::getCurve ( int  idx) const
inlineoverridevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1727 of file ofbx.cpp.

Here is the call graph for this function:

◆ getNodeLocalTransform()

Vec3 ofbx::AnimationCurveNodeImpl::getNodeLocalTransform ( double  time) const
inlineoverridevirtual

Implements ofbx::AnimationCurveNode.

Definition at line 1733 of file ofbx.cpp.

Here is the call graph for this function:

◆ getType()

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

Implements ofbx::Object.

Definition at line 1771 of file ofbx.cpp.

Member Data Documentation

◆ bone

Object* ofbx::AnimationCurveNodeImpl::bone = nullptr

Definition at line 1769 of file ofbx.cpp.

◆ bone_link_property

DataView ofbx::AnimationCurveNodeImpl::bone_link_property

Definition at line 1770 of file ofbx.cpp.

◆ curves

Curve ofbx::AnimationCurveNodeImpl::curves[3]

Definition at line 1768 of file ofbx.cpp.

◆ default_values

float ofbx::AnimationCurveNodeImpl::default_values[3]

Definition at line 1772 of file ofbx.cpp.

◆ mode

enum ofbx::AnimationCurveNodeImpl::Mode ofbx::AnimationCurveNodeImpl::mode = TRANSLATION

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