OpenSceneGraph 3.6.5
RigTransform
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
15#ifndef OSGANIMATION_RIGTRANSFORM
16#define OSGANIMATION_RIGTRANSFORM 1
17
18#include <osg/Object>
19
20namespace osgAnimation
21{
22
23 class RigGeometry;
24
26 {
27 public:
29 RigTransform(const RigTransform& org, const osg::CopyOp& copyop):
30 osg::Object(org, copyop) {}
31
33
34 virtual void operator()(RigGeometry&) {}
35
38 virtual bool prepareData(RigGeometry&) { return true; }
39
40 protected:
41 virtual ~RigTransform() {}
42
43 };
44 class MorphGeometry;
45
47 {
48 public:
50 MorphTransform(const MorphTransform& org, const osg::CopyOp& copyop):
51 osg::Object(org, copyop) {}
52
54
55 virtual void operator()(MorphGeometry&) {}
56
57 protected:
58 virtual ~MorphTransform() {}
59
60 };
61
62}
63
64#endif
The core osg library provides the basic scene graph classes such as Nodes, State and Drawables,...
Definition AlphaFunc:19
The osgAnimation library provides general purpose utility classes for animation.
Definition Action:34
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
Base class/standard interface for objects which require IO support, cloning and reference counting.
Definition Object:61
Object()
Construct an object.
Definition Object:69
Definition MorphGeometry:28
Definition RigGeometry:50
virtual ~RigTransform()
Definition RigTransform:41
RigTransform(const RigTransform &org, const osg::CopyOp &copyop)
Definition RigTransform:29
META_Object(osgAnimation, RigTransform) virtual void operator()(RigGeometry &)
Definition RigTransform:32
RigTransform()
Definition RigTransform:28
virtual bool prepareData(RigGeometry &)
to call manually when a skeleton is reacheable from the rig in order to prepare technic data before r...
Definition RigTransform:38
META_Object(osgAnimation, MorphTransform) virtual void operator()(MorphGeometry &)
Definition RigTransform:53
virtual ~MorphTransform()
Definition RigTransform:58
MorphTransform(const MorphTransform &org, const osg::CopyOp &copyop)
Definition RigTransform:50
MorphTransform()
Definition RigTransform:49

osg logo
Generated at Sun Jul 27 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.