00001 #ifndef OMK_Orbit_H 00002 #define OMK_Orbit_H 00003 00004 //----------------------------------------------------------------------------- 00005 #include "OMKSimplePoint.h" 00006 00007 namespace OMK 00008 { 00009 00010 //----------------------------------------------------------------------------- 00043 class OMKADDON_API Orbit: public SimplePoint 00044 { 00045 DECLARE_OBJECT_FACTORY( Orbit ) ; 00046 protected: 00047 00048 virtual void computeParameters() ; 00054 virtual bool loadParameters( const ConfigurationParameterDescriptor * node ) ; 00055 00058 float _angle ; 00059 float _planetAngle ; 00061 Wm4::Vector3f _planetAxis ; 00062 00063 OMK::AttributeT< float > _speed ; 00064 OMK::AttributeT< float > _radius ; 00066 OMK::AttributeT< float > _period ; 00068 OMK::AttributeT< float > _planetPeriod ; 00069 } ; 00070 00071 } // namespace OMK 00072 #endif // defined OMK_Orbit_H 00073 00074
Documentation generated on Mon Jun 9 11:45:57 2008 |
Generated with doxygen by Dimitri van Heesch , 1997-2007 |