fMainC.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //---------------------------------------------------------------------------
  2. #ifndef fMainCH
  3. #define fMainCH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <GLS.GeomObjects.hpp>
  10. #include <GLS.Cadencer.hpp>
  11. #include <GLS.SceneViewer.hpp>
  12. #include <GLS.Objects.hpp>
  13. #include <GLS.VectorFileObjects.hpp>
  14. #include <GLS.Scene.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include "GLS.BaseClasses.hpp"
  17. #include "GLS.Coordinates.hpp"
  18. #include "GLScene.Utils.hpp"
  19. #include "GLS.Scene.hpp"
  20. //---------------------------------------------------------------------------
  21. class TForm1:public TForm
  22. {
  23. __published: // IDE-managed Components
  24. TGLScene * GLScene1;
  25. TGLLightSource *GLLightSource1;
  26. TGLDummyCube *DummyCube1;
  27. TGLFreeForm *FreeForm1;
  28. TGLSphere *Sphere1;
  29. TGLArrowLine *ArrowLine1;
  30. TGLSceneViewer *GLSceneViewer2;
  31. TGLCamera *GLCamera2;
  32. TGLCadencer *GLCadencer1;
  33. TTimer *Timer1;
  34. TPanel *Panel1;
  35. TLabel *Label1;
  36. TLabel *Label2;
  37. TLabel *Label3;
  38. TLabel *Label5;
  39. TLabel *LABuild;
  40. TCheckBox *CheckBox1;
  41. TCheckBox *CBOctree;
  42. TLabel *Label4;
  43. TLabel *LabelFPS;
  44. void __fastcall GLSceneViewer2MouseDown(TObject * Sender, TMouseButton Button,
  45. TShiftState Shift, int X, int Y);
  46. void __fastcall GLSceneViewer2MouseMove(TObject * Sender, TShiftState Shift,
  47. int X, int Y);
  48. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  49. const double newTime);
  50. void __fastcall Timer1Timer(TObject * Sender);
  51. private: // User declarations
  52. public: // User declarations
  53. __fastcall TForm1(TComponent * Owner);
  54. int mousex, mousey;
  55. };
  56. //---------------------------------------------------------------------------
  57. extern PACKAGE TForm1 *Form1;
  58. //---------------------------------------------------------------------------
  59. #endif