root/OpenSceneGraph/trunk/include/osgAnimation/BoneMapVisitor @ 13041

Revision 13041, 1.2 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*  -*-c++-*-
2 *  Copyright (C) 2009 Cedric Pinson <cedric.pinson@plopbyte.net>
3 *
4 * This library is open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version.  The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 * OpenSceneGraph Public License for more details.
13 *
14 * Authors:
15 *         Cedric Pinson <cedric.pinson@plopbyte.net>
16 */
17
18#ifndef OSGANIMATION_BONEMAP_VISITOR
19#define OSGANIMATION_BONEMAP_VISITOR 1
20
21#include <osgAnimation/Export>
22#include <osgAnimation/Bone>
23#include <osg/NodeVisitor>
24
25namespace osgAnimation
26{
27    class OSGANIMATION_EXPORT BoneMapVisitor : public osg::NodeVisitor
28    {
29    public:
30        META_NodeVisitor("osgAnimation","BoneMapVisitor")
31        BoneMapVisitor();
32
33        void apply(osg::Node&);
34        void apply(osg::Transform& node);
35        const BoneMap& getBoneMap() const;
36
37    protected:
38        BoneMap _map;
39    };
40}
41
42#endif
Note: See TracBrowser for help on using the browser.