root/OpenSceneGraph/trunk/src/osgPlugins/Inventor/ShuttleCallback.h @ 13041

Revision 13041, 0.6 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1#ifndef _SHUTTLECALLBACK_H_
2#define _SHUTTLECALLBACK_H_
3
4#include <osg/Node>
5#include <osgUtil/Export>
6
7// Callback for handling the SoShuttle node
8class ShuttleCallback : public osg::NodeCallback
9{
10    public:
11
12        ShuttleCallback(const osg::Vec3& startPos, const osg::Vec3& endPos,
13                        float frequency);
14
15        virtual void operator() (osg::Node* node, osg::NodeVisitor* nv);
16
17    protected:
18
19        osg::Vec3 _startPos;
20        osg::Vec3 _endPos;
21        float _frequency;
22
23        unsigned int _previousTraversalNumber;
24        double _previousTime;
25        float _angle;
26};
27
28#endif
Note: See TracBrowser for help on using the browser.