VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtAnimationMatrixTransformVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 #include <vrvOsg/vrvOsg.h>
12 
13 #include <osg/NodeVisitor>
14 #include <osg/ProxyNode>
15 
16 namespace osgAnimation
17 {
18  class AnimationMatrixTransform;
19 }
20 
21 namespace makVrv
22 {
26  class DT_DLL_VRVOSG DtAnimationMatrixTransformVisitor : public osg::NodeVisitor
27  {
28 
29  public:
32  DtAnimationMatrixTransformVisitor(DtDe& de, bool processProxyNodes);
33 
36 
39  virtual void apply(osg::Node& node);
40  virtual void apply(osgAnimation::AnimationMatrixTransform& node);
42 
44  virtual bool hasAnimationMatrixTransform() const;
45 
46  private:
47 
52 
53  protected:
57 
58  };
59 }
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool myProcessProxyNodes
Definition: DtAnimationMatrixTransformVisitor.h:55
DtDe & myDe
Definition: DtAnimationMatrixTransformVisitor.h:54
bool myHasAnimationMatrixTransform
Definition: DtAnimationMatrixTransformVisitor.h:56
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Extract the Key frame animation from the AnimationMatrixTransform to pass it to the Animation Manager...
Definition: DtAnimationMatrixTransformVisitor.h:26

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)