OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BoneMapVisitor.h
Go to the documentation of this file.
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 
25 namespace osgAnimation
26 {
28  {
29  public:
32 
33  void apply(osg::Node&);
34  void apply(osg::Transform& node);
35  const BoneMap& getBoneMap() const;
36 
37  protected:
39  };
40 }
41 
42 #endif
#define OSGANIMATION_EXPORT
Definition: Export.h:40
std::map< std::string, osg::ref_ptr< Bone > > BoneMap
Definition: Bone.h:59
#define META_NodeVisitor(library, name)
Definition: NodeVisitor.h:49
Definition: Node.h:71