openscenegraph
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
Definition MorphGeometry:28
Definition RigTransform:47
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
Definition RigGeometry:50
Definition RigTransform:26
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 &)
Definition RigTransform:38
Definition CopyOp:41
Definition Object:61
Object()
Definition Object:69
Definition Action:34
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19