- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/geo/osgGeoAnimation.h
r2688 r13041 7 7 8 8 // Consider a model as being a class (or a subroutine). The class has a 'draw' method 9 // supplied by OSG, and the model can be animated (parts of the model 9 // supplied by OSG, and the model can be animated (parts of the model 10 10 // rotate, move, change colour, become invisible etc.). 11 11 // … … 15 15 // User variables - may be a function of other variables, defined in the editor. 16 16 // External variables - the user written callback function extvarupdate sets these values on each frame of simulation. 17 // User & external variables may be defined as a mathematical or logical function of 17 // User & external variables may be defined as a mathematical or logical function of 18 18 // all the variables (external variables, internal variables & user variables). 19 19 … … 33 33 // plus animation variables. 34 34 public: 35 geoHeader() { 35 geoHeader() { 36 36 uvarupdate=NULL; extvarupdate=NULL; 37 37 }; 38 38 geoHeader(const geoHeader &geo,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) : 39 39 osg::PositionAttitudeTransform(geo,copyop) 40 { 40 { 41 41 // const geoHeaderGeo *ghg=static_cast<const geoHeaderGeo *> (&geo); 42 42 }
