root/OpenSceneGraph/trunk/src/osgPlugins/fbx/fbxRNode.h @ 11262

Revision 11262, 0.9 kB (checked in by mplatings, 5 years ago)

Workaround for files exported from SoftImage? that don't tag skeleton nodes correctly.

RevLine 
[10780]1#ifndef FBXRNODE_H
2#define FBXRNODE_H
3
[11109]4#include "fbxMaterialToOsgStateSet.h"
[10780]5namespace osgAnimation
6{
7    class AnimationManagerBase;
[11153]8    class RigGeometry;
[10780]9}
10
[11153]11typedef std::map<std::pair<KFbxNode*, osgAnimation::RigGeometry*>, osg::Matrix> BindMatrixMap;
12
[11262]13osgAnimation::Skeleton* getSkeleton(KFbxNode*,
14    const std::set<const KFbxNode*>& fbxSkeletons,
15    std::map<KFbxNode*, osgAnimation::Skeleton*>&);
[11139]16
[10780]17osgDB::ReaderWriter::ReadResult readFbxNode(
18    FBXFILESDK_NAMESPACE::KFbxSdkManager& pSdkManager,
19    FBXFILESDK_NAMESPACE::KFbxNode* pNode,
20    osg::ref_ptr<osgAnimation::AnimationManagerBase>& pAnimationManager,
[11139]21    bool& bIsBone,
[11109]22    int& nLightCount,
23    FbxMaterialToOsgStateSet& fbxMaterialToOsgStateSet,
[11141]24    std::map<KFbxNode*, osg::Node*>& nodeMap,
[11153]25    BindMatrixMap& boneBindMatrices,
[11262]26    const std::set<const KFbxNode*>& fbxSkeletons,
[11141]27    std::map<KFbxNode*, osgAnimation::Skeleton*>& skeletonMap,
[11109]28    const osgDB::Options* options = NULL);
[10780]29
30#endif
Note: See TracBrowser for help on using the browser.