CelestiaSimulation.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:2k
源码类别:

OpenGL

开发平台:

Visual C++

  1. //
  2. //  CelestiaSimulation.h
  3. //  celestia
  4. //
  5. //  Created by Bob Ippolito on Fri Jun 07 2002.
  6. //  Copyright (c) 2002 Chris Laurel. All rights reserved.
  7. //
  8. #import "CelestiaSelection.h"
  9. #import "CelestiaUniverse.h"
  10. #import "CelestiaUniversalCoord.h"
  11. #import "CelestiaObserver.h"
  12. #import "CelestiaVector.h"
  13. @interface CelestiaSimulation : NSObject
  14. {
  15.     NSValue* _data;
  16. }
  17. -(NSNumber*)julianDate;
  18. -(void)setDate:(NSNumber*)t;
  19. -(NSNumber*)realTime;
  20. -(NSNumber*)arrivalTime;
  21. -(void)update:(NSNumber*)dt;
  22. -(CelestiaSelection*)pickObject:(CelestiaVector*)pickRay tolerance:(NSNumber*)tolerance;
  23. -(CelestiaSelection*)pickObject:(CelestiaVector*)pickRay;
  24. -(CelestiaUniverse*)universe;
  25. -(void)orbit:(CelestiaVector*)q;
  26. -(void)rotate:(CelestiaVector*)q;
  27. -(void)changeOrbitDistance:(NSNumber*)d;
  28. -(void)setTargetSpeed:(NSNumber*)s;
  29. -(NSNumber*)targetSpeed;
  30. -(CelestiaSelection*)selection;
  31. -(void)setSelection:(CelestiaSelection*)sel;
  32. -(CelestiaSelection*)trackedObject;
  33. -(void)setTrackedObject:(CelestiaSelection*)sel;
  34. -(void)selectPlanet:(NSNumber*)planetNo;
  35. -(CelestiaSelection*)findObject:(NSString*)s;
  36. -(CelestiaSelection*)findObjectFromPath:(NSString*)s;
  37. -(void)gotoSelection:(NSNumber*)gotoTime up:(CelestiaVector*)up coordinateSystem:(NSString*)csysName;
  38. -(void)gotoSelection:(NSNumber*)gotoTime distance:(NSNumber*)distance up:(CelestiaVector*)up coordinateSystem:(NSString*)csysName;
  39. -(void)gotoSelection:(NSNumber*)gotoTime distance:(NSNumber*)distance longitude:(NSNumber*)longitude latitude:(NSNumber*)latitude up:(CelestiaVector*)up;
  40. -(NSArray*)getSelectionLongLat;
  41. -(void)centerSelection;
  42. -(void)centerSelection:(NSNumber*)centerTime;
  43. -(void)follow;
  44. -(void)geosynchronousFollow;
  45. -(void)phaseLock;
  46. -(void)chase;
  47. -(void)cancelMotion;
  48. -(CelestiaObserver*)observer;
  49. -(void)setObserverPosition:(CelestiaUniversalCoord*)uc;
  50. -(void)setObserverOrientation:(CelestiaVector*)q;
  51. -(void)setObserverMode:(NSString*)m;
  52. -(NSString*)observerMode;
  53. -(void)setFrame:(NSString*)cs selection:(CelestiaSelection*)sel;
  54. @end