![]() |
PeriDyno 0.8.2
|
#include <ofbx.h>


Public Types | |
| 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 | |
| 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 | |
| u64 | id |
| char | name [128] |
| const IElement & | element |
| const Object * | node_attribute |
Protected Attributes | |
| bool | is_node |
| const Scene & | scene |
|
strong |
| Matrix ofbx::Object::getGlobalTransform | ( | ) | const |
| Vec3 ofbx::Object::getLocalRotation | ( | ) | const |
| Vec3 ofbx::Object::getLocalScaling | ( | ) | const |
| Matrix ofbx::Object::getLocalTransform | ( | ) | const |
| Vec3 ofbx::Object::getLocalTranslation | ( | ) | const |
| Object * ofbx::Object::getParent | ( | ) | const |
| Vec3 ofbx::Object::getPostRotation | ( | ) | const |
| Vec3 ofbx::Object::getPreRotation | ( | ) | const |
| Vec3 ofbx::Object::getRotationOffset | ( | ) | const |
| RotationOrder ofbx::Object::getRotationOrder | ( | ) | const |
| Vec3 ofbx::Object::getRotationPivot | ( | ) | const |
| Vec3 ofbx::Object::getScalingOffset | ( | ) | const |
| Vec3 ofbx::Object::getScalingPivot | ( | ) | const |
|
pure virtual |
Implemented in ofbx::MeshImpl, ofbx::MaterialImpl, ofbx::LimbNodeImpl, ofbx::NullImpl, ofbx::NodeAttributeImpl, ofbx::GeometryImpl, ofbx::ShapeImpl, ofbx::ClusterImpl, ofbx::AnimationStackImpl, ofbx::AnimationCurveImpl, ofbx::SkinImpl, ofbx::BlendShapeChannelImpl, ofbx::BlendShapeImpl, ofbx::PoseImpl, ofbx::TextureImpl, ofbx::Root, ofbx::AnimationCurveNodeImpl, and ofbx::AnimationLayerImpl.

|
inline |
| Object * ofbx::Object::resolveObjectLink | ( | int | idx | ) | const |
| Object * ofbx::Object::resolveObjectLink | ( | Object::Type | type, |
| const char * | property, | ||
| int | idx | ||
| ) | const |
| Object * ofbx::Object::resolveObjectLinkReverse | ( | Object::Type | type | ) | const |