OSG
3.4.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
osg_head
include
osgAnimation
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
{
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
OSGANIMATION_EXPORT
#define OSGANIMATION_EXPORT
Definition:
Export.h:40
osgAnimation::BoneMapVisitor
Definition:
BoneMapVisitor.h:27
osgAnimation
Definition:
Action.h:33
osgAnimation::BoneMap
std::map< std::string, osg::ref_ptr< Bone > > BoneMap
Definition:
Bone.h:59
META_NodeVisitor
#define META_NodeVisitor(library, name)
Definition:
NodeVisitor.h:49
osg::Transform
Definition:
Transform.h:74
osg::Node
Definition:
Node.h:71
osg::NodeVisitor
Definition:
NodeVisitor.h:67
osgAnimation::BoneMapVisitor::_map
BoneMap _map
Definition:
BoneMapVisitor.h:38
Generated on Tue Oct 4 2016 19:20:47 for OSG by
1.8.8