Changeset 13041 for OpenSceneGraph/trunk/src/osgPlugins/geo/osgGeoAction.h
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/geo/osgGeoAction.h
r4014 r13041 6 6 using namespace osg; 7 7 8 class georecord; // You don't need to know how I read a geo record, 8 class georecord; // You don't need to know how I read a geo record, 9 9 // but objects of this class are passed to some of the parsing routines. 10 10 // The values are defined in osgGeoStructs.h which is distributed with OSG. … … 14 14 geoBehaviour() { } 15 15 virtual ~geoBehaviour() { } 16 virtual void doaction(osg::Node *)=0;// {} // do math or action operation 16 virtual void doaction(osg::Node *)=0;// {} // do math or action operation 17 17 18 18 virtual bool makeBehave(const georecord *grec, const geoHeaderGeo *theHeader)=0; // pure virtual … … 77 77 private: 78 78 float constant; 79 const double *varop; // if null use constant value in maths; else 79 const double *varop; // if null use constant value in maths; else 80 80 }; 81 81 … … 103 103 void setTrigType(int iop); 104 104 void setPeriodicType(int iop); 105 105 106 106 virtual void doaction(osg::Node *); // do math operation 107 107 virtual bool makeBehave(const georecord *grec, geoHeaderGeo *theHeader); … … 124 124 float constant; 125 125 optype oper; 126 const double *varop; // if null use constant value in maths; else 126 const double *varop; // if null use constant value in maths; else 127 127 }; 128 128 … … 182 182 public: 183 183 geoActionBehaviour() { var=NULL; type=0;} 184 virtual ~geoActionBehaviour() { 184 virtual ~geoActionBehaviour() { 185 185 var=NULL;} 186 186 void setType(const unsigned int t) { type=t; }
